CLIP
CLIP copied to clipboard
Using clip.load("ViT-L/14", device=device) Failed to load
Has anyone faced the same issue? Whenever I tried to load the ViT-L/14 model, the server crashed. I tried downloading the pre-trained model and loading it directly with clip.load(path_to_directory), but the issue still occurs.
Did anyone try something similar? Thanks
me too, did u fix the problem? thanks!
From what I understood from the repo, you can not use clip.load(path_to_directory) to load the pre-trained model directly, but you must use the URL link. I downloaded the pre-trained model, saved it to private storage, and passed the link to the loader. Works for me.
@Blessing92 Hi, may I ask where did u download the pre-trained model?
Hi @daeunni You can find all the pre-trained models here: https://github.com/openai/CLIP/blob/main/clip/clip.py and then Just paste the URL of one of the pre-trained model in the browser and it will directly download. Hope it helps.
@Blessing92 Thanks a lot! :-)