How to load the processor ?

#4
by ragesh-beo - opened

Iam using the below code to load the model and the corresponding processor.

model = CLIPModel.from_pretrained("M-CLIP/XLM-Roberta-Large-Vit-B-16Plus")
processor = CLIPProcessor.from_pretrained("M-CLIP/XLM-Roberta-Large-Vit-B-16Plus")

But iam unable to load the processor because of the error
OSError: M-CLIP/XLM-Roberta-Large-Vit-B-16Plus does not appear to have a file named preprocessor_config.json

Sign up or log in to comment