Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

levit_c.LeViT_c_384 not working #7

Closed
aashusri opened this issue May 11, 2021 · 1 comment
Closed

levit_c.LeViT_c_384 not working #7

aashusri opened this issue May 11, 2021 · 1 comment

Comments

@aashusri
Copy link

Hi, there seems to be a bug in the levit_c.LeViT_c_384 model. Could you please have a look at it?

To reproduce.
import torch
import levit_c
model = levit_c.LeViT_c_384()
out = model(torch.rand(4,3,224,224)) # gives following error
RuntimeError: The size of tensor a (384) must match the size of tensor b (4) at non-singleton dimension 1

@btgraham
Copy link
Contributor

Thanks for the report. It should be working now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants