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

OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14 #78

Closed
dakuohaozyj opened this issue Oct 11, 2023 · 5 comments
Closed

Comments

@dakuohaozyj
Copy link

dakuohaozyj commented Oct 11, 2023

I can download other resource packages, but this resource cannot be downloaded. Where is the setting path? I changed it to an absolute path, Thanks

Please do not close the issue if the issue is not resolved.

@williamyang1991
Copy link
Owner

I think this is not the problem of my code. This part is the official code of ControlNet.
I am not responsible for solving the issues on the code related to other project. For such kind of issues, maybe you can search it yourself or raise an issues in the corresponding project page (https://github.com/lllyasviel/ControlNet/issues).
I have no idea where the setting path is. If you ask me, what I could do is also just to search the solution through baidu or google (Acutally, the first result of google can solve your problem https://huggingface.co/openai/clip-vit-large-patch14).

image

@dakuohaozyj
Copy link
Author

dakuohaozyj commented Oct 11, 2023 via email

@williamyang1991
Copy link
Owner

It directly affects the use of our products.

It's your products, not my products. I'm not responsible for your products.
BTW, for using our model in your products, please follow the S-Lab license.

You can download the model manually.

I cannot understand what you mean by you can download the model manually. You or I?

Where do you need to modify it after downloading? I hope to get your help.

I have said I have no idea since this part is directly imported from other project. The code is not written by me.
I'm sorry I cannot help you with this issue.
From my perspective, your problem is because that your network is blocked from the huggingface. You should check your network (e.g., 翻墙), which is however, out of my scope.

@dakuohaozyj
Copy link
Author

dakuohaozyj commented Oct 11, 2023 via email

@williamyang1991
Copy link
Owner

So you mean It directly affects the use of this open source product.
But I don't think so. I think it's your network issue that affects the use.

And I have also provided a solution for you in #77 (comment), which however you might ignore.

image

You can either fix your network or search all openai/clip-vit-large-patch14 throughout the whole files in this project and replace them with your path.

I think I have provided enough information to solve this issue.
I will close this issue.

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