-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Smoother Fails Due to Missing tracker_id in Detections #1196
Comments
It's not experiencing the issue with supervision 0.19.0, so which one is the bug? |
Hi, @YoungjaeDev 👋🏻 do you have a tracker plugged into your pipeline? |
Yes, of course I'm using it. It's the same code, it works for 0.19.0, but not 0.20.0. |
@YoungjaeDev, can you try to see if |
Any ideas? I'm having the same issue too |
Hi @SMUEric1127 👋 Can you try |
That's good to hear :) I know we've had issues with I'll close the issue - it seems to be resolved 🙂 |
Search before asking
Bug
I'm experiencing an issue with the supervision library when using the
smoother
for better visualization. While my model is successfully detecting objects, it seems that tracker_id is not being assigned to the detections (maybe due to threshold). This causes the smoother to fail with the following error:IndexError: index 0 is out of bounds for axis 0 with size 0
Here are the details of the error:
It appears that the tracker_id is not being generated, which leads to the smoother failing. Shouldn't there be an exception handling or a check to ensure that tracker_id is available before attempting to use it?
Here is a snippet of the detections object:
As you can see, the tracker_id array is empty.
Please advise on how to handle this situation or if there is a bug fix in progress for this issue.
Environment
Supervision 0.20.0
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: