ValueError

#7
by linccodes - opened

hey, I need your help, I keep getting this error when I run the python app:

C:\Python312\Lib\site-packages\transformers\models\auto\processing_auto.py", line 349, in from_pretrained
raise ValueError(
ValueError: Unrecognized processing class in jadechoghari/vfusion3d. Can't instantiate a processor, a tokenizer, an image processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes.

@linccodes this might be an issue with transformers, which version are you using?

@jadechoghari the latest version: (v4.45.2)

I also encountered the same error , the transformers version is 4.46.1

Hello,
I would love to use it but I am encountering the same error. I tried 4.46.,4.44,4.43 and 4.42.
Do you have an idea on how to fix this ?

thanks @QuantyverseTom @liuShion @linccodes i'll investigate and let you know by today!

I just tested on colab and it's working.
Could you explain more what you're running?

import torch
from transformers import AutoModel, AutoProcessor

# load the model and processor
model = AutoModel.from_pretrained("jadechoghari/vfusion3d", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("jadechoghari/vfusion3d")

(this is working for me)

Sign up or log in to comment