zhulf0804 / PointPillars

A Simple PointPillars PyTorch Implementation for 3D LiDAR(KITTI) Detection.
MIT License
454 stars 112 forks source link

AttributeError: 'NoneType' object has no attribute 'shape' #50

Closed jyothsna-phd22 closed 5 months ago

jyothsna-phd22 commented 1 year ago

Traceback (most recent call last): File "pre_process_kitti.py", line 163, in main(args) File "pre_process_kitti.py", line 140, in main kitti_train_infos_dict = create_data_info_pkl(data_root, 'train', prefix, db=True) File "pre_process_kitti.py", line 58, in create_data_info_pkl image_shape = img.shape[:2] AttributeError: 'NoneType' object has no attribute 'shape'

Kindly help me in this issue.

zhulf0804 commented 1 year ago

Hello @jyothsna-phd22, please check the if img_path exists. https://github.com/zhulf0804/PointPillars/blob/b9948e73505c8d6bfa631ffdf76c7148e82c5942/pre_process_kitti.py#L56

couakua commented 11 months ago

same problem