You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertlen(rearrange_kwargs) >0, 'either batch_size is passed in on forward, or time_dim is set on init'
@@ -388,13 +390,14 @@ def forward(
388
390
batch_size=None
389
391
):
390
392
is_video=x.ndim==5
393
+
394
+
batch_size=default(batch_size, self.batch_dim)
391
395
assertis_video^ (exists(batch_size) orexists(self.time_dim)), 'either a tensor of shape (batch, channels, time, height, width) is passed in, or (batch * time, channels, height, width) along with `batch_size`'
0 commit comments