JonathonLuiten / TrackEval

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

Evaluation script not running properly when specifying SEQMAP_FILE in command line #80

Open bkkm78 opened 2 years ago

bkkm78 commented 2 years ago

When running scripts/run_mot_challenge.py and specifying SEQMAP_FILE in the command line, the script crashes. This is because the script parses this argument as a list (line 56) while /trackeval/datasets/mot_challenge_2d_box.py expects it to be a string (line 156).

Peterbotliang commented 2 years ago

I second this. A workaround is adding the following after line 74)) in scripts/run_mot_challenge.py

elif setting == 'SEQMAP_FILE':
    assert len(args[setting])== 1
    x = args[setting][0]