How to load the model CLIP-ViT-g-14-laion2B-s34B-b88K with `open_clip`

#2
by jside - opened

I wonder how we can load models download to a local folder using open_clip. Is it possible?
Just to be clear, I would like an alternative to commands such as:
model, _, preprocess = open_clip.create_model_and_transforms('ViT-B-32-quickgelu', pretrained='laion400m_e32')

Thanks!

Sign up or log in to comment