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

Code execution error. #1

Open
Re-dot-art opened this issue Jan 5, 2025 · 4 comments
Open

Code execution error. #1

Re-dot-art opened this issue Jan 5, 2025 · 4 comments

Comments

@Re-dot-art
Copy link

Hello, thank you for doing such an excellent job. I am reproducing your code and after completing all the tasks, I ran bash scripts/GDINO/test/GDINO.sh to test it. The code reported the following error. How can I solve it? I have downloaded the model to ./ COIN/cloud_models/ folder. Thank you!
image

@Flashkong
Copy link
Owner

Flashkong commented Jan 5, 2025

Thank you for your acknowledgment of our work!

GDINO is based on transformer. It will download and load pretrained weights for transformer from Hugging Face when building the GDINO model. This issue is likely due to network problems preventing the pretrained weights from being downloaded. If you are in China, you can try using a proxy, such as Clash, since Hugging Face cannot be accessed directly.

@Re-dot-art
Copy link
Author

Thank you for your acknowledgment of our work!

GDINO is based on transformer. It will download and load pretrained weights for transformer from Hugging Face when building the GDINO model. This issue is likely due to network problems preventing the pretrained weights from being downloaded. If you are in China, you can try using a proxy, such as Clash, since Hugging Face cannot be accessed directly.

Thank you for your reply. I have already downloaded the model weights beforehand, do I still need to ensure that the server is connected to HuggingFace?
image

@Flashkong
Copy link
Owner

Yes, you need to. GDINO uses transformer, so you encounter this issue when building the GDINO model. Loading the GIDNO weights you downloaded is after the GDINO model is built.

@Re-dot-art
Copy link
Author

Yes, you need to. GDINO uses transformer, so you encounter this issue when building the GDINO model. Loading the GIDNO weights you downloaded is after the GDINO model is built.

Okay, thank you.

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