-
Notifications
You must be signed in to change notification settings - Fork 214
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
The downloaded pretrained weights cannot be imported correctly using the jupyter notebook. #14
Comments
Hi @cenjinglun, To my opinion, the best way to make sure the pretrained model and configuration is matched, is using the colab notebook we provide. I'll also will try to make it more clear in the readme. |
Thank you very much for pointing out my mistakes. I want to run it on local, so I downloaded the weights mentioned above. However, because I am not so familiar with the code, I only replaced the model_path in clip_prefix_captioning_inference.ipynb.
If possible, could you tell me the where shoule I load these weights? |
You can use the exact code appear in the notebook: Looking at your code, it seems you used the transformer notebook instead |
Ok, it works. Thanks. |
I have downloaded the pretrain weights from Google Drive. But it seems there's something wrong with it. It's not working because of mismatching!
https://drive.google.com/file/d/14pXWwB4Zm82rsDdvbGguLfx9F8aM7ovT/view?usp=sharing
https://drive.google.com/file/d/1IdaBtMSvtyzF0ByVaBHtvM0JYSXRExRX/view?usp=sharing
How can I do for this?
The text was updated successfully, but these errors were encountered: