mlfoundations / open_clip

An open source implementation of CLIP.
Other
9.29k stars 923 forks source link

Model config for laion2b_s34b_b88k not found #790

Closed ha1ha2hahaha closed 6 months ago

ha1ha2hahaha commented 6 months ago

when i load the model model, _, _ = create_model_and_transforms(model_name="laion2b_s34b_b88k", pretrained="clip/open_clip_pytorch_model.bin")

raise RuntimeError(f'Model config for {model_name} not found.')

RuntimeError: Model config for laion2b_s34b_b88k not found.

https://github.com/mlfoundations/open_clip/issues/528 provides some information, but it not worked to me!

rwightman commented 6 months ago

@ha1ha2hahaha reread #528 you put the tag in the model name field