-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
detect.py --classes IndexError #17
Comments
Hello @VvvvvGH, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Google Colab Notebook, Docker Image, and GCP Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@VvvvvGH thank you for your bug report! We can successfully reproduce this following your example. I will look into this. |
@VvvvvGH yes you are correct, x and j are becoming different shapes causing the error. Your solution works well. I will push a fix shortly. |
Same fix needs to be applied in yolov3 repo also |
@Tamme submit a PR on the relevant repo please. |
This reverts commit c0954d2.
🐛 Bug
To Reproduce
REQUIRED: Code to reproduce your issue below
Expected behavior
No error produce
Environment
If applicable, add screenshots to help explain your problem.
Additional context
yolov5/utils/utils.py
Lines 501 to 512 in 7c2832c
Possible fix
Change
To
The text was updated successfully, but these errors were encountered: