Transformers doesn't recognize this architecture?
#3
by
Raskoll
- opened
ValueError: The checkpoint you are trying to load has model type depth_anything
but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
I tried it with pipeline and the manual way, updated transformers, no luck.
Hi,
You'll need to update your Transformers version to be installed from source for now: pip install git+https://github.com/huggingface/transformers.git.
nielsr
changed discussion status to
closed