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

Cannot run offline only with model file #62

Open
Rising0321 opened this issue Jul 24, 2024 · 1 comment
Open

Cannot run offline only with model file #62

Rising0321 opened this issue Jul 24, 2024 · 1 comment

Comments

@Rising0321
Copy link

I download the model checkpoint and want to run cambrian offline. But I encounter the following error:

OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like openai/clip-vit-large-patch14-336 is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

It seems that this model needs openai/clip-vit-large-patch14-336 to run successfully. Maybe could put it into Readme? Or just put the clip into the model file to avoid download in the offline environment.

@Joseph1025
Copy link

Same here, I tried to change the config.json in cambrian model, but it didn't work. Btw, even if you downloaded the 4 required vision encoders, the way cambrian parse the vision encoders is somehow too complex. It can be really hard to redirect the model to local path.

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