-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Torchscript file is not working with detect.py #6000
Comments
@RizwanMunawar thanks for the bug report! I am able to reproduce this problem. I'll add a TODO to investigate today.
|
@RizwanMunawar good news 😃! Your original issue may now be fixed ✅ in PR #6007. To receive this update:
Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀! |
Cool, it works fine now. |
Search before asking
YOLOv5 Component
Detection
Bug
Below, command is throwing error, when I am detecting with torchscript file.
python .\detect.py --weights "B:\yolov5-master\yolov5s.torchscript" --source "B:\Testing videos\test.avi"
,
Environment
Windows 10
Python 3.7
yolov5 latest release
Minimal Reproducible Example
python .\detect.py --weights "B:\yolov5-master\yolov5s.torchscript" --source "B:\Testing videos\test.avi"
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: