Scalsol / mega.pytorch

Memory Enhanced Global-Local Aggregation for Video Object Detection, CVPR2020
Other
568 stars 115 forks source link

no map? #39

Closed dylan110 closed 4 years ago

dylan110 commented 4 years ago

hello, when I run the test_net.py over, why is there no map prediction? and there shows if motion_iou[gt_index] < motion_range[0] or motion_iou[gt_index] > motion_range[1]: IndexError: list index out of range

Scalsol commented 4 years ago

Are you using another dataset? If so, the mAP evaluation is not valid for other dataset now, I will fix this problem ASAP. Or you could try to checkout at this commit https://github.com/Scalsol/mega.pytorch/tree/ec290e4acd1b45b95a9f76dcc18d17f37990c5d7

dylan110 commented 4 years ago

I evaluate the map in the VID datasets of 555 images, but there still exits no mAP calculation at final phase of the inference. Could you provide some suggestions?

Scalsol commented 4 years ago

555 is a wrong number,it should be 176126. You should redownload the txt file for evaluation.

dylan110 commented 4 years ago

Thank you very much! I will try this.

joe660 commented 3 years ago

Are you using another dataset? If so, the mAP evaluation is not valid for other dataset now, I will fix this problem ASAP. Or you could try to checkout at this commit https://github.com/Scalsol/mega.pytorch/tree/ec290e4acd1b45b95a9f76dcc18d17f37990c5d7

请问现在修复了自己数据集计算MAP的算法吗??

LuoXiang-LX commented 2 years ago

现在修复了自己的数据集计算MAP的算法吗?