tusen-ai / SST

Code for a series of work in LiDAR perception, including SST (CVPR 22), FSD (NeurIPS 22), FSD++ (TPAMI 23), FSDv2, and CTRL (ICCV 23, oral).
Apache License 2.0
801 stars 102 forks source link

how to generate kitti style train.txt file #168

Closed SakuraRiven closed 1 year ago

SakuraRiven commented 1 year ago

Hi, we try to use python tools/create_data.py but found that it needs txt files such as ImageSets/train.txt in kitti_format dir.

How could we generate these txt files so that we can reproduce the CTRL work?

Thanks for your kind help : )

SakuraRiven commented 1 year ago

Our method: collect the idxs from idx2contextname.pkl and assign idxs to train/val/test in terms of their corresponding context_names. In this way, the idxs could be same as the official waymo split.

Abyssaledge commented 1 year ago

Sorry for the late reply. We have been quite busy lately. Your solution seems nice, did it work? I can upload these files if you need.

SakuraRiven commented 1 year ago

@Abyssaledge It works well and we have reproduced the method successfully : )