Unverified Commit 188d864f authored by zideliu's avatar zideliu Committed by GitHub
Browse files

[BUG] in transformer_temporal Fix Bugs (#5496)

Fix Bugs
parent 6e608d8a
......@@ -171,7 +171,7 @@ class TransformerTemporalModel(ModelMixin, ConfigMixin):
hidden_states = self.proj_out(hidden_states)
hidden_states = (
hidden_states[None, None, :]
.reshape(batch_size, height, width, channel, num_frames)
.reshape(batch_size, height, width, num_frames, channel)
.permute(0, 3, 4, 1, 2)
.contiguous()
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment