JonathonLuiten / TrackEval

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

_calculate_similarities crashes when tracker_dets_t is empty #56

Open abrayyan opened 2 years ago

abrayyan commented 2 years ago

For some frames when there are no tracks (tracker_dets_t empty), _calculate_similarities calls either _calculate_box_ious or _calculate_mask_ious assuming both contains objects

ThanosRoidis commented 2 years ago

yes, this is a real problem, if you have no detections in a frame then an exception is raised when trying to calculate the similarity matrix