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

The .pt file is missing #8

Open
jacksonwu09 opened this issue Apr 10, 2024 · 2 comments
Open

The .pt file is missing #8

jacksonwu09 opened this issue Apr 10, 2024 · 2 comments

Comments

@jacksonwu09
Copy link

When I run the train_changeclip.py file, I encounter this problem. Do I need to download the .pt file myself, or do you have any suggestions for me as a beginner
image

@dyzy41
Copy link
Owner

dyzy41 commented Apr 10, 2024

https://github.com/openai/CLIP/blob/main/clip/clip.py. Use the download link provided in this code to download the corresponding model

@jacksonwu09
Copy link
Author

Thank you for your reply,but Yesterday, I also tried to download the "pt" file. I renamed the downloaded file to "RN50.pt" and changed the pretrained path to the address of this downloaded file. However, I encountered an error during loading: RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found.

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

2 participants