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

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #52

Closed
computerseelearning2020 opened this issue Sep 22, 2023 · 19 comments

Comments

@computerseelearning2020
Copy link

computerseelearning2020 commented Sep 22, 2023

My issues image
image
My code
image
How do I solve this problem?

@capjamesg
Copy link
Member

Can you delete the Grounding DINO / Grounded SAM folder in the ~/.cache/autodistill directory and try again? This error occurs when the installation process was interrupted. If the model weights download does not succeed, Grounding DINO tries to open the incomplete archive, which causes the error.

@capjamesg
Copy link
Member

Hello! Did the comment above help you resolve the issue? If so, please let me know so I can close the Issue!

@computerseelearning2020
Copy link
Author

computerseelearning2020 commented Oct 2, 2023

Hello! Did the comment above help you resolve the issue? If so, please let me know so I can close the Issue!

Oh...I still didn't succeed
Sorry for replying to you only now

@capjamesg
Copy link
Member

Did you get the same error?

@computerseelearning2020
Copy link
Author

Did you get the same error?

yes

@capjamesg
Copy link
Member

What is in your ~/.cache/autodistill directory?

@computerseelearning2020
Copy link
Author

computerseelearning2020 commented Nov 2, 2023 via email

@capjamesg
Copy link
Member

I cannot see the images from the email. Would you mind uploading them to the GitHub thread directly?

@computerseelearning2020
Copy link
Author

computerseelearning2020 commented Nov 4, 2023 via email

@computerseelearning2020
Copy link
Author

image (1)
image

@capjamesg
Copy link
Member

Can you list the ~/.cache/autodistill/ directory. It looks like the image above shows the autodistill module directory, which does not contain the information I need to investigate this further.

@computerseelearning2020
Copy link
Author

@capjamesg
Copy link
Member

I don't see an image in your message. It looks like emailing images with GitHub might not be working properly. Can you try again by uploading your image through the GitHub web interface?

@computerseelearning2020
Copy link
Author

@computerseelearning2020
Copy link
Author

image

@R3xpook
Copy link

R3xpook commented Jan 4, 2024

seems like if you using groundingdino before and than try to use grounded SAM it gives this error

@computerseelearning2020
Copy link
Author

@capjamesg
Copy link
Member

Is this issue still causing problems? If not, I will close it in the next few days.

@capjamesg
Copy link
Member

I am going to close this issue, but we can re-open it if further assistance is required.

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

3 participants