dvlab-research / FocalsConv

Focal Sparse Convolutional Networks for 3D Object Detection (CVPR 2022, Oral)
https://arxiv.org/abs/2204.12463
Apache License 2.0
371 stars 35 forks source link

KeyError: 'road_plane' in database_sampler.py #7

Closed YangHan-Morningstar closed 2 years ago

YangHan-Morningstar commented 2 years ago

Hi, thanks for your excellent work! When I formed pkl file using your code and started to train, I got this KeyError in database_sampler.py file, and through debug I found there is no road_plane in data_dict. Could you help me solve this? Thanks a lot!

image image
yukang2017 commented 2 years ago

Hi, thanks for your interest in our work.

Did you download the road plane data from the KITTI official link, before generating pkl files? There should be a subfolder 'training/planes' that contains txt files.

You can also choose to set USE_ROAD_PLANE as False in the config files. It will not cause much difference.

YangHan-Morningstar commented 2 years ago

yukang @.***>于2022年5月20日 周五10:47写道:

Hi, thanks for your interest in our work.

Did you download the road plane data from the KITTI official link, before generating pkl files? There should be a subfolder 'training/planes' that contains txt files.

You can also choose to set USE_ROAD_PLANE as False in the config files. It will not cause much difference.

— Reply to this email directly, view it on GitHub https://github.com/dvlab-research/FocalsConv/issues/7#issuecomment-1132400154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQE4IZEVYATT4TNXPN7YJG3VK34LHANCNFSM5WN5HKFQ . You are receiving this because you authored the thread.Message ID: @.***>

Ah, I thought road_plane is generated automatically and ignore there are optional planes file in training file. Thanks a lot!