dyzy41 / ChangeCLIP

Apache License 2.0
60 stars 1 forks source link

The .pt file is missing #8

Open jacksonwu09 opened 4 months ago

jacksonwu09 commented 4 months ago

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 commented 4 months ago

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

jacksonwu09 commented 4 months ago

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.