Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load CLIPTokenizer error #674

Open
Wei-1989 opened this issue Apr 23, 2024 · 1 comment
Open

Load CLIPTokenizer error #674

Wei-1989 opened this issue Apr 23, 2024 · 1 comment

Comments

@Wei-1989
Copy link

my linux can't access huggingface
so when i run the project, this error occurred.
OSError: Can't load config for 'openai/clip-vit-large-patch14'. 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 'openai/clip-vit-large-patch14' is the correct path to a directory containing a config.json file

How can I fix it?
Should I download model from huggingface, and upload to my linux service? But I don't know what model should I download and where should I upload

If you can help me . I will be very appreciate~~!

@AAKillua
Copy link

AAKillua commented May 6, 2024

You can download clip-vit-large-patch14 from huggingface.co, upload it to the server, and then modify the path of the modules.py file to load the model ("./ControlNet-main/ldm/modules/encoders/modules.py" )
Download clip-vit-large-patch14 at https://huggingface.co/openai/clip-vit-large-patch14/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants