cheind / py-motmetrics

:bar_chart: Benchmark multiple object trackers (MOT) in Python
MIT License
1.37k stars 259 forks source link

mm.distances.iou_matrix value is always nan value #136

Closed choieq closed 3 years ago

choieq commented 3 years ago

Hi,

when i run this code,

    gt_tlwhs = np.array([[413., 449., 131., 269.], [579., 443., 97., 269.], [555., 10., 90., 255.]])
    trk_tlwhs = np.array([[413., 449., 131., 269.], [579., 443., 97., 269.], [555., 10., 90., 255.]])

    print(mm.distances.iou_matrix(gt_tlwhs, trk_tlwhs, max_iou=0.5))

return matrix is image

please help me, thank you.

choieq commented 3 years ago

https://github.com/ZQPei/deep_sort_pytorch/issues/133

i found it from above discuss