pjl1995 / CTracker

Other
249 stars 47 forks source link

About the results of the MOT16 dataset #22

Open KevinKai-0717 opened 3 years ago

KevinKai-0717 commented 3 years ago

I want to train on the MOT16 dataset. How can I get the corresponding CSV file?

chengdianJiang commented 3 years ago

The MOT label files can not be used, I made a script to convert txt to csv format, then it can work.

KevinKai-0717 commented 3 years ago

The MOT label files can not be used, I made a script to convert txt to csv format, then it can work.

Thank you for your reply!Would you mind share the relevant code files?I really want to know how to convert to CSV format.

chengdianJiang commented 3 years ago

You can directly save the .txt file as .csv file, this is easy, but you need to modify two places according to this project. 1)change the img name to the path name,2)convert the location information from x1,y1,h,w to x1,y1,x2,y2,3)add the label information. you can give me your email and I will send the code. I recommend that please carefully compare the downloaded MOT dataset with the project file。

KevinKai-0717 commented 3 years ago

Thank you for your reply!I will check it according to your suggestion. My email address is: 604407726@qq.com. Looking forward to your email!

pjl1995 commented 3 years ago

@KevinKai-0717 Hi, I upload the generate_csv.py to generate the MOT17 CSV file. Maybe you can refer it.