AIR-THU / DAIR-V2X

Apache License 2.0
437 stars 65 forks source link

empty obj when browse dataset in mmdet3d framework #24

Closed Italian-PAO closed 1 year ago

Italian-PAO commented 1 year ago

Hi, thanks a lot for your great contribution in V2X area! When I follow your instruction of late fusion, some problems occured. I download the dataset from the official website, and convert the data using dair2kitti.py, when I evaluate the pretrained checkpoints you provided, the mAP result is correct. Then I want to train the model in mmdet3d, so I create data using the command as followed python tools/create_data.py kitti --root-path ~/code/DAIR-V2X-main/data/DAIR-V2X/cooperative-vehicle-infrastructure/vehicle-side/ --out-dir ~/code/DAIR-V2X-main/data/DAIR-V2X/cooperative-vehicle-infrastructure/vehicle-side/ and the following files are generated successfully image However, when I browse the dataset using command: python tools/misc/browse_dataset.py configs/pointpillars/trainval_config_v.py --output-dir tools/misc/veh_side/ --task det the output xxx_points.obj files are empty when visualize them like this: image but there is data like this when I read the files as text image and the xxx_gt.obj files are like this: image What could be the reason for this problem? I will appreciate it a lot if you could share your advice, thank you!

DurbinLiu commented 1 year ago

Hi, have you found the exact reason for this ?