SysCV / qd-3dt

Official implementation of Monocular Quasi-Dense 3D Object Tracking, TPAMI 2022
https://eborboihuc.github.io/QD-3DT/
BSD 3-Clause "New" or "Revised" License
512 stars 99 forks source link

which is "gt_folder" to use Plot_tracking.py? #42

Open LittleFlyFish opened 1 year ago

LittleFlyFish commented 1 year ago

Hi Thanks for providing this great work!

Now I have run estimation results of nuscenes under the work_dir folder. I have txt files of the detection results. However, I hope to use plot_tracking to plot it out. I read the file and the command should be:

python plot_tracking --dataset --gt_folder --res_folder

for dataset I use nuscenes, for res_folder I write qd-3dt-main/work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/txts

however, I don't know which folder should I use as gt_folder?

When I use the dataset folder, catagory.json, such as: qd-3dt-main/work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/txts

It comes out bugs like:

File "/media/data1/yanran/ObjectsDetection/qd-3dt-main/scripts/object_ap_eval/coco_format.py", line 125, in read_file for cat_dict in coco_annos['categories'] TypeError: list indices must be integers or slices, not str


Could you show me how to use plot_tracking.py and plot_utils.py?

like :

python plot_tracking --dataset --gt_folder --res_folder

which folder should I use as gt_folder for nuscenes dataset?

I hope to know this answer as soon as possible for our project. If you could update the readme file, that would be great helpful for a lot of followers and me, thank you very much! : )