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)

its working on colab but not in my local system. Can you please help its the same error as linccodes has mentioned

@jadechoghari your help is greatly needed

could you try doing it in a brand new env, and follow instructions ? @babyshank

@jadechoghari Yeah I tried that too and its still not working. Is it working for you?

yes i use a remote server via ssh, that's weird can you make sure it's caching the model weights + config, at the very least you can also try on ssh and lmk (ie compare the two specs)

Sign up or log in to comment