Closed ppbrown closed 4 months ago
@ppbrown Did you happen to have openai as a pretrained tag? it's correct if that's the case, 'openai' is a special case that needs to take a different codepath for loading correctly, so it's only reporting the openai models and there is no ViT-H-14-quickgelu in the openai set.
I gave an invalid pretrained= model name to open_clip.create_model_and_transforms()
This is actually a bug-in-a-bug, because it claims the problem was "model not found", when the ACTUAL problem was that I give a pretrained name that was not in the matching cases for the model type. As you can see, I gave ViT-H-14-quickgelu, which IS a valid model type.
That being said, its list of valid model names printed, is truncated. it stops at ViT-L, when it should also include all the other newer ones like ViT-H, ViT-g, and so on.