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

clip-vit-large-patch14 no config.json error #6

Closed
metanoder opened this issue Jan 26, 2024 · 3 comments
Closed

clip-vit-large-patch14 no config.json error #6

metanoder opened this issue Jan 26, 2024 · 3 comments

Comments

@metanoder
Copy link

metanoder commented Jan 26, 2024

After installation, running the text2mesh inference, or any inference, and i get this error...

OSError: ./checkpoints/clip/clip-vit-large-patch14 does not appear to have a file named config.json. Checkout 'https://huggingface.co/./checkpoints/clip/clip-vit-large-patch14/None' for available files.

Clicking the link will result in a huggingface 404 and no content stored. Can you point to where I can find the config.json to clip-vit-large-patch14? Or how do I debug this?

@Maikouuu
Copy link
Contributor

Maikouuu commented Jan 27, 2024

Hi,

Have you downloaded the checkpoint from My Hugging Face? If not, you can try downloading the checkpoint from there, as I have provided all the necessary files. And put them into 'checkpoints' folder.

If you encounter any issues while downloading CLIP, you can consider downloading it from CLIP's Hugging Face page. Once the download is complete, remember to modify line 26 and line 34 in the config file for providing correct path of CLIP.

@metanoder
Copy link
Author

I tried re-cloning from your hugging face checkpoints repo, but the problem persisted. After downloading from CLIP's repo and placing it in checkpoint/clip, then the model started running.

Thanks for the response and links. Your project is quite impressive! Bravo!

ancillary sidenote, for Windows users, running wsl2 + ubuntu 22.04, will have issues. As discussed in issue 786 it is just a matter to add this in the .bashrc:
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH

cheers!

@Maikouuu
Copy link
Contributor

Thanks for usage and suggestions. I will include it in the TIPS section of the github page and link to this issue.

cheers!

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