Error trying single_inference.py

#4
by JimChien - opened

Trying single_inference.py and this error showed up

raise EnvironmentError(
OSError: Can't load the configuration of '01-ai/Yi-VL-6B/vit/clip-vit-H-14-laion2B-s32B-b79K-yi-vl-6B-448'. If you were trying to load it from 'https://huggingface.co./models', make sure you don't have a local directory with the same name. Otherwise, make sure '01-ai/Yi-VL-6B/vit/clip-vit-H-14-laion2B-s32B-b79K-yi-vl-6B-448' is the correct path to a directory containing a config.json file

Please check if you have the local path to the vit folder set up correctly, there should be configuration files in there.

I had the same issue I was able to run with help from 01.AI team. Here is my Gist.
https://gist.github.com/sudhir2016/d4caee16874d9b91a05b01dc4ec46ca5

Can someone help me solve this error ?

Sign up or log in to comment