-
Notifications
You must be signed in to change notification settings - Fork 127
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
self.pos_embedding error training on different dataset #14
Comments
Same problem! |
Solved by assigning the image_size |
Hello, I have the same problem. Could you tell me how to assign the image_size? Thank you! |
@culiver Hello, I have the same problem. Could you tell me how to assign the image_size? Thank you! |
I assigned the image size as the below code. Note that do not put this line in nn.Sequential or it might not change the input size. |
Thanks ! |
I am using a pre-trained VIT model and trained on some different task but I got an error
model.py file
Traceback
The text was updated successfully, but these errors were encountered: