Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading&training EVAVisionTransformer with patch_dropout=0.5 #115

Open
chenmc1996 opened this issue Sep 11, 2023 · 0 comments
Open

Comments

@chenmc1996
Copy link

Hi, thanks for the good EVA-clip.
I'm loading&training the EVAVisionTransformer in EVA02-CLIP-L-14 and find that setting the patch_dropout to 0.5 raise runtimeError The size of tensor a (128) must match the size of tensor b (256) at non-singleton dimension 2 in

return t * self.freqs_cos + rotate_half(t) * self.freqs_sin

setting it to zero seem fine.
Do you have any idea of how to fix it?
Thanks!

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

No branches or pull requests

1 participant