LPC_MOT icon indicating copy to clipboard operation
LPC_MOT copied to clipboard

Train

Open ym-Rain opened this issue 3 years ago • 9 comments

Thank you for your open source code! If I want to train on MOT20 and MOT15, how can I generate the detection file? Could you help me?

ym-Rain avatar Apr 17 '21 13:04 ym-Rain

Thank you for your open source code! If I want to train on MOT20 and MOT15, how can I generate the detection file? Could you help me?

You can generate the detection files via this script: ReID_feature_extraction. Of course, you need to make some minor changes about the inputs. Btw, if you want to fine-tune ReID model with MOT20 train data, then you should change the ReID model in config-file.

daip13 avatar Apr 18 '21 01:04 daip13

Which model should I use? ReID_feature_extraction.py file line 108 of tracktor_prepr_det.txt doesn't exist in the dataset. What shall I do? Thank you for your answer.

ym-Rain avatar Apr 18 '21 01:04 ym-Rain

Which model should I use? ReID_feature_extraction.py file line 108 of tracktor_prepr_det.txt doesn't exist in the dataset. What shall I do? Thank you for your answer.

You can use the ReID model without MOT train as a baseline. If you want to fine-tune the ReID model, you can refer to fast-reid. As for the detection txt file, you can use the det.txt file provided by MOT20 benchmark directly. tracktor_prepr_det.txt is the detection results regressed by tracktor.

daip13 avatar Apr 18 '21 02:04 daip13

Ok, I got it. Thank you for your reply!

ym-Rain avatar Apr 18 '21 02:04 ym-Rain

I need to bother you again, I can't run the program( Reid_ feature_ extraction.py) on MOT17. What's the problem? (the Reid model uses Reid_ model_ with_ MOT17_ traindata.pth ) image

ym-Rain avatar Apr 18 '21 10:04 ym-Rain

I need to bother you again, I can't run the program( Reid_ feature_ extraction.py) on MOT17. What's the problem? (the Reid model uses Reid_ model_ with_ MOT17_ traindata.pth ) image

This script is used to extract the ReID features of each detection box, hence it needs the video image of each frame. You need to merge the images of each sequence to one video first. I believe you can solve such kind of issues easily by yourself after going through the code first.

daip13 avatar Apr 18 '21 11:04 daip13

If I want to fine-tune the Reid model, which script of fast-reid should I refer to. Is it convenient for you to give me some advice?

ym-Rain avatar Apr 18 '21 11:04 ym-Rain

If I want to fine-tune the Reid model, which script of fast-reid should I refer to. Is it convenient for you to give me some advice?

https://github.com/daip13/LPC_MOT/blob/master/fast-reid/tools/train_net.py

daip13 avatar Apr 19 '21 01:04 daip13

Got it. Thank you very much for your guidance! When I run Reid_ feature_ extraction.py on MOT17, there is an error in the picture below. Do you know what the problem is? image

ym-Rain avatar Apr 19 '21 03:04 ym-Rain