-
Notifications
You must be signed in to change notification settings - Fork 1.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
Fix cropping overflow issue #1187
Conversation
Great!! Should not be needed if the detector is trained following best practices, but I have seen that is not always the case... Which models did generate incorrect outputs? |
Actually YOLOX used in all the trackers (ByteTrack, OC-Sort, BoT-SORT) for MOT17 get this problem. For pure tracker without ReID model (e.g, ByteTrack, OCSort) might not be the case but can break the program when cropping is needed. I guess this is caused by the overflow coordinates provided in the GroundTruth annotations. |
I did not know there where such issues in MOT17. I though all those issues were gone after the MOT16 refinement that lead to MOT17... Good to know! |
I see. Maybe this is my own issue? It would be great if you would like to share whether you found this issue as well! |
I see this:
in MOT17-05-FRCNN |
I mean
or in
|
Oooh, your are right.
So yes, there are still issues in MOT17... Actually quite a lot. I get +2000 rows with negative values just in MOT17-05-FRCNN |
I would just cleanup the GT. It is obviously wrong and detrimental for your detector's performance |
Maybe clipping is enough for training but current research community seems to follow the original settings without any preprocessing. It would still be better to remain its original values for comparison with current SOTAs. |
Would be interesting to check the metric difference between the detector trained on clipped values and un-clipped... |
In the 04 seq there are 14498 lines with negative values in the GT. Maybe all these trackers are better than reported. They are just trained sub-optimally and evaluated on misleading GT |
Add clip to the coordinates to ensure the cropping results can be correct.
This might happen when having the negative coordinates or coordinates bigger than the image size.
Reference: BoT-SORT.