-
Notifications
You must be signed in to change notification settings - Fork 127
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
FileNotFoundError: file "/root/.cache/autodistill/groundingdino/GroundingDINO_SwinT_OGC.py" does not exist #50
Comments
Thank you for your comment! This can happen when the installation process doesn't complete successfully. Please run: rm -rf ~/.cache/autodistill/ Then, run Autodistill again. Let me know if this doesn't work! |
I have figured it by download GroundingDINO_SwinT_OGC.py by myself, for the reason that my machine cannot connect to the network. But it went wrong when download huggingface_hub, I cannot figure out which need to download and install. The wrong information is below, is there any solution to figure it? trying to load grounding dino directly |
If you have a network connection and you are seeing this issue, consider rebooting your machine. |
Do you still need assistance with this Issue? |
When I try to use GroundedSAM to generate annotation, It went something wrong.
trying to load grounding dino directly
downloading dino model weights
Traceback (most recent call last):
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/autodistill_grounded_sam/helpers.py", line 89, in load_grounding_dino
device=DEVICE,
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/groundingdino/util/inference.py", line 121, in init
device=device
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/groundingdino/util/inference.py", line 29, in load_model
args = SLConfig.fromfile(model_config_path)
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/groundingdino/util/slconfig.py", line 185, in fromfile
cfg_dict, cfg_text = SLConfig._file2dict(filename)
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/groundingdino/util/slconfig.py", line 79, in _file2dict
check_file_exist(filename)
File "/workspace/hpt/anaconda3/envs/paddle_env/lib/python3.7/site-packages/groundingdino/util/slconfig.py", line 23, in check_file_exist
raise FileNotFoundError(msg_tmpl.format(filename))
FileNotFoundError: file "/root/.cache/autodistill/groundingdino/GroundingDINO_SwinT_OGC.py" does not exist
The text was updated successfully, but these errors were encountered: