mmtracking icon indicating copy to clipboard operation
mmtracking copied to clipboard

why , when using mmdetection pretrained weight for detection is not giving good results in tracking inference ?

Open Balakumaran-kandula opened this issue 3 years ago • 2 comments

I have tried with the different pretrained weights given from mmdetection models ( e.g) (https://download.openmmlab.com/mmdetection/v2.0/cascade_rcnn/cascade_mask_rcnn_x101_64x4d_fpn_mstrain_3x_coco/cascade_mask_rcnn_x101_64x4d_fpn_mstrain_3x_coco_20210719_210311-d3e64ba0.pth) combined with reid model weights (e.g) (https://download.openmmlab.com/mmtracking/mot/reid/reid_r50_6e_mot17-4bf6b63d.pth ) for multi object tracking inference , but the output was random bounding boxes , does it have to be pretrained on tracking datasets and models to work fine with mmtracking inference ?

Balakumaran-kandula avatar May 18 '22 05:05 Balakumaran-kandula

Fintine on tracking dataset will bring more performance gain, but the original model from mmdetection is not so bad to output random bounding boxes for all objects. Maybe the keys between the checkpoint from mmdetection and the model in mmtracking are different. The model in mmdetection need to be converted to be modle.detector in mmtracking. Please check its config, https://github.com/open-mmlab/mmtracking/blob/master/docs/en/tutorials/config_mot.md

JingweiZhang12 avatar May 18 '22 06:05 JingweiZhang12

mode.detector ? ( there is no such command) . I guess you are saying about model.detector , i have just gave the pretrained weight link in the config of mot ( tracktor) model ,it is loading the detector perfectly . but the output is not good ,

Balakumaran-kandula avatar May 18 '22 10:05 Balakumaran-kandula