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
swin2_tiny failed to run forward(): RuntimeError: unflatten: Provided sizes [64, 64] don't multiply up to the size of dim 2 (64) in the input tensor.
#252
I don't think Unflatten(dim=2, unflattened_size=torch.Size([64, 64])) work on any of the dimensions (b, 64, 64, 96). On the other hand it seems (b, 64, 64, 96) has already been unflattened.
Did anyone tried training or inference with the swin backbones?
The text was updated successfully, but these errors were encountered:
I tried with
During inference at
MiDaS/midas/backbones/utils.py
Line 72 in bdc4ed6
The input at this layer is of a shape (b, 64, 64, 96) where b is the batch size. The next operator
pretrained.act_postprocess1
is aI don't think
Unflatten(dim=2, unflattened_size=torch.Size([64, 64]))
work on any of the dimensions(b, 64, 64, 96)
. On the other hand it seems(b, 64, 64, 96)
has already been unflattened.Did anyone tried training or inference with the swin backbones?
The text was updated successfully, but these errors were encountered: