Closed YoungjaeDev closed 5 months ago
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?
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 supervision==0.21.0rc5
works?
Any ideas? I'm having the same issue too
Hi @SMUEric1127 :wave:
Can you try pip install supervision==0.21.0rc5
too?
@LinasKo @SkalskiP
supervision==0.21.0rc5
seems to smooth out the behavior
What was the cause?
That's good to hear :)
I know we've had issues with tracker_id
generation. If you're curious, feel free to compare the files in: https://github.com/roboflow/supervision/tree/develop/supervision/tracker/byte_tracker
. Relevant tags are 0.20.0
versus 0.21.0rc5
.
I'll close the issue - it seems to be resolved :slightly_smiling_face:
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: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?