-
Notifications
You must be signed in to change notification settings - Fork 605
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
A n error about "The size of tensor a (96) must match the size of tensor b (288) at non-singleton dimension 0" #142
Comments
Same issue! Have you figured out how? |
You need to downgrade the transformers library to 4.15.0. |
It works. |
for me 4.15 did not worked, but it worked with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear author:
![image](https://user-images.githubusercontent.com/74093654/230319889-3a1307c0-c6ea-472a-831e-46b1ee255948.png)
I'm glad to see your excellent work.
As I'm a newcomer to the this field, when I try to generate the captions on COCO2017 dataset, I found this question?:
could you tell me how can I fix it?
Thank you!
The text was updated successfully, but these errors were encountered: