RangeDet
RangeDet copied to clipboard
Question about generating KITTI range view images
Thanks for your great work. Could you please tell me the meaning of height and incl in the function get_range_image [code] ?
height
means the vertical height of each laser beam.
incl
means the inclination of each laser beam.
Note that the 64 laser beams of LiDAR are not emitted from a single point.
height
means the vertical height of each laser beam.incl
means the inclination of each laser beam. Note that the 64 laser beams of LiDAR are not emitted from a single point.
Thanks for your great work. Could you please tell me how to calculate the height and zenith? Can the nuscenes data be converted into range view data format? What should I do for it?
@HuangDihe The heights and zeniths we used in KITTI are provided by the authors of RCD, which is obtained via Hough Transformation. You need to estimate height and zenith for each beam, which is somewhat similar to line detection with Hough Transformation. I believe you can do it in NuScenes but I cannot provide you the source code.
@Abyssaledge Thanks for your great work! I run the code : python ./datasets/create_range_image_in_kitti.py --source-dir data/kitti --target-dir output but there is no results in --target-dir(only have npz_test,npz_trainval folder with no files and have .roidb files(5 Byte)),and report:
Error: 'lidar_idx'
the kitti data organized as follow,and generated .pkl files data │ ├── kitti │ │ │── ImageSets │ │ │── training │ │ │ ├──calib & velodyne & label_2 & image_2 & (optional: planes) & (optional: depth_2) │ │ │── testing │ │ │ ├──calib & velodyne & image_2
@Abyssaledge Thanks for your great work! I run the code : python ./datasets/create_range_image_in_kitti.py --source-dir data/kitti --target-dir output but there is no results in --target-dir(only have npz_test,npz_trainval folder with no files and have .roidb files(5 Byte)),and report:
Error: 'lidar_idx'
the kitti data organized as follow,and generated .pkl files data │ ├── kitti │ │ │── ImageSets │ │ │── training │ │ │ ├──calib & velodyne & label_2 & image_2 & (optional: planes) & (optional: depth_2) │ │ │── testing │ │ │ ├──calib & velodyne & image_2
You may encounter error: lidar-idx because you named the storage differently from the author when generating the kitti_infos_trainval.pkl file for the kitti dataset. You can open your pkl file and look up the two memory names in 'point_cloud' to find the one that corresponds to 'lidar-idx', Then change the 'lidar-idx' in the process_single_frame function of create_range_image_in_kitti.py to the corresponding name
@Abyssaledge What is the version of mmdet3d? The kitti pkl file changed in different version.