yihongXU / deepMOT

Official Implementation of How To Train Your Deep Multi-Object Tracker (CVPR2020)
GNU Lesser General Public License v3.0
498 stars 87 forks source link

Is it okay to use obsolete branch to reproduce your results? #35

Closed songheony closed 2 years ago

songheony commented 4 years ago

I'd like to run your code on PyTorch 1.4. But, the code in your master branch is only for PyTorch 0.4.1. Is it possible to reproduce your results with obsolete branch?

yihongXU commented 4 years ago

Hi, you could modify the master branch and use the newer version of Tracktor (pytorch 1.4) to adapt to Pytorch 1.4.

Thanks,

songheony commented 4 years ago

Does that mean you cannot reproduce your paper with the obsolete branch? Since your master branch code uses customized fpn and frcnn, it is very difficult to modify it for PyTorch 1.4. Could you give advice on how to modify the code?

yihongXU commented 4 years ago

Hi,

The part that is not compatible with Pytorch 1.4 is the FPN and FRCNN. So it's better to start adapting FPN, FRCNN in torchvision (>0.4) from torchvision.models.detection import FasterRCNN from torchvision.models.detection.backbone_utils import resnet_fpn_backbone to the DeepMOT training. To avoid compilation, you can also replace customized NMS to torchvision.ops.NMS.

Actually, I have incomplete code for that, if you want I can send you the .py file and you can start with that, the work should be minimum then. You could leave your email.

Thanks,

songheony commented 4 years ago

Thank you very much for your help. I'm not sure if I can reproduce your tracker by modifying the code, but I'll try to do so. Please send the file to the e-mail address below: songheony@gmail.com

yihongXU commented 4 years ago

@songheony the files are sent.

Good luck,