jiaweihe1996 / GMTracker

Official PyTorch implementation of "Learnable Graph Matching: Incorporating Graph Partitioning with Deep Feature Learning for Multiple Object Tracking" (CVPR 2021).
GNU General Public License v3.0
112 stars 23 forks source link

Question for trainGMMOT.py and GMMOT/dataloader.py. #9

Closed Kenta-b closed 2 years ago

Kenta-b commented 2 years ago

When I tryed "python trainGMMOT.py" 309th line of GMMOT/dataloader.py. But "ValueError: zero-size array to reduction operation maximum which has no identity" was raised.

Since I am running the program using MOT17, I think the cause is that the conditional statement in line 298 of GMMOT/dataloader.py refers to 3D information that is not necessary, but how can I fix it?

jiaweihe1996 commented 2 years ago

Sorry for forgetting to upload gt.npy. Maybe you use detection files, which are different from the ground truth format. Please download it from here, and unzip them in ./npy/ folder, and run python trainGMMOT.py

Kenta-b commented 2 years ago

Thanks for your quick reply!