JonathonLuiten / TrackEval

HOTA (and other) evaluation metrics for Multi-Object Tracking (MOT).
MIT License
963 stars 239 forks source link

Error: Tracker predicts the same ID more than once in a single timestep #151

Open WJ-Huang opened 2 months ago

WJ-Huang commented 2 months ago

Hello guys,

When I calculated the HOTA metric on MOT challenge, I got an error trackeval.utils.TrackEvalException: Tracker predicts the same ID more than once in a single timestep (seq: 0005+automobiles-are-located-to-the-left, frame: 1, ids: 2 3). However, the first few lines of ground truth are:

1,11,254.999988,175.000125,50.000436,26.999999999999996,1, 1, 1
1,12,322.99948800000004,175.000125,34.99956,21.0,1, 1, 1
2,11,241.00016399999998,172.999875,52.999866000000004,28.999875,1, 1, 1
2,12,313.999956,175.000125,37.000422,21.0,1, 1, 1
3,11,226.00053,172.999875,58.000158,28.999875,1, 1, 1
3,12,305.000424,174.0,39.000042,21.0,1, 1, 1

And our predictions are:

1,2,321.5227355957031,175.3921661376953,35.80499267578125,20.785919189453125,1,1,1
1,3,255.49383544921875,174.45973205566406,47.819488525390625,27.253875732421875,1,1,1
2,2,313.2884826660156,174.94009399414062,37.54534912109375,21.01068115234375,1,1,1
2,3,241.7657012939453,173.39601135253906,51.23710632324219,28.2698974609375,1,1,1
3,2,304.60986328125,175.0731201171875,39.492584228515625,20.811019897460938,1,1,1
3,3,227.1982879638672,172.8837432861328,53.63865661621094,29.634933471679688,1,1,1

I don't understand how the IDs are assigned more than once... Did you face the same problem?