JonathonLuiten / TrackEval

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

help to evaluate on custom dataset #73

Open atousaz opened 2 years ago

atousaz commented 2 years ago

I am using the structure mentioned in comment number #29 with following command to run

!python TrackEval/scripts/run_mot_challenge.py --DO_PREPROC False --BENCHMARK cam1 --SPLIT_TO_EVAL all --TRACKERS_TO_EVAL bytetrack

this is the error i get :

trackeval.utils.TrackEvalException: Ground-truth data contains the following invalid timesteps in seq seq-01: 430, , 431, , 432, , 433, , 434, , 435, , 436, , 437, , 438, , 439, , 440, , 441, , 442, , 443, , 444, , 445, , 446, , 447, , 448, , 449, , 450, , 451, , 452, , 453, , 454, , 455, , 456, , 457, , 458,

these numbers are the frame ids

my gt file looks like this 372,1,1224.45,414.41,55.549999999999955,71.69999999999999,1,1,1.0 373,1,1208.7,414.41,71.29999999999995,71.69999999999999,1,1,1.0 374,1,1178.3,414.41,101.70000000000005,71.69999999999999,1,1,1.0 375,1,1141.8,414.41,138.20000000000005,71.69999999999999,1,1,1.0 376,1,1102.9,402.26,177.0999999999999,71.69,1,1,1.0 377,1,1085.28,400.44,177.10000000000014,71.69,1,1,1.0 378,1,1067.66,398.61,177.0999999999999,71.69999999999999,1,1,1.0 379,1,1034.85,392.54,177.10000000000014,71.69,1,1,1.0 380,1,1003.25,377.95,177.0999999999999,71.69999999999999,1,1,1.0

my tracker out put looks like this 372,1,1002,138,25,23,1,1,1 372,2,367,219,87,41,1,1,1 372,3,683,283,25,24,1,1,1 372,4,1196,419,83,58,1,1,1 372,5,261,57,53,25,1,1,1 372,6,368,219,88,42,1,1,1 372,7,808,177,44,24,1,1,1 372,8,598,206,60,27,1,1,1 372,9,882,170,39,22,1,1,1

any help is appreciated :)

reza-shahriari commented 11 months ago

check seqinfo.ini file and change seqLength. seqLength should be equal to your frames count