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: weights\yolov5s.pt is a zip archive (did you mean to use torch.jit.load()?) #8

Open
laradigital opened this issue Sep 7, 2022 · 0 comments

Comments

@laradigital
Copy link

laradigital commented Sep 7, 2022

Hi, I get this error when I run main.py script!

File "C:\Users\USER.conda\envs\env\lib\site-packages\torch\serialization.py", line 560, in _load
raise RuntimeError("{} is a zip archive (did you mean to use torch.jit.load()?)".format(f.name))

RuntimeError: weights\yolov5s.pt is a zip archive (did you mean to use torch.jit.load()?)

image

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

1 participant