Skip to content

Commit

Permalink
removed extra blocks call in goal-conditioned gpt
Browse files Browse the repository at this point in the history
  • Loading branch information
jannerm committed Feb 15, 2022
1 parent e0b5f12 commit c79460b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trajectory/models/transformers.py
Expand Up @@ -290,7 +290,6 @@ def forward(self, idx, goal, targets=None, mask=None):
x = gx[:, self.observation_dim:]
#### /goal

x = self.blocks(x)
## [ B x T x embedding_dim ]
x = self.ln_f(x)

Expand Down

0 comments on commit c79460b

Please sign in to comment.