Closed SongDoHou closed 7 months ago
Hi, try to use this:
import open_clip
model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:wisdomik/QuiltNet-B-16')
tokenizer = open_clip.get_tokenizer('hf-hub:wisdomik/QuiltNet-B-16')
I wonder 'pytorch_model.bin' and 'open_clip_pytorch_model.bin' which one is the right bin that you trainen yourself?
Training outputs open_clip_pytorch_model.bin and we convert it to pytorch_model.bin also for compatibility with loading the models directly using HF CLIP modules and not just open_clip. So both are the same and trained as discussed in the paper.
Hi, The error is occurred from below command:
from transformers import CLIPModel
model = CLIPModel.from_pretrained("wisdomik/QuiltNet-B-16", use_auth_token=None)
.The error msg is:
Is there any issues with that? or my dev environment has something wrong?