maudzung / SFA3D

Super Fast and Accurate 3D Object Detection based on 3D LiDAR Point Clouds (The PyTorch implementation)
https://github.com/maudzung/Super-Fast-Accurate-3D-Object-Detection
MIT License
1k stars 271 forks source link

Error in visualizing dataset #45

Closed charlescho64 closed 3 years ago

charlescho64 commented 3 years ago

Hello..

I have got the below message in visualizing dataset step. What should I do ?

ubuntu@n:~/Documents/SFA3D/sfa/data_process$ python3 kitti_dataset.py Press n to see the next sample >>> Press Esc to quit... Traceback (most recent call last): File "kitti_dataset.py", line 296, in bev_map, labels, img_rgb, img_path = dataset.draw_img_with_label(idx) File "kitti_dataset.py", line 254, in draw_img_with_label img_path, img_rgb = self.get_image(sample_id) File "kitti_dataset.py", line 116, in get_image img = cv2.cvtColor(cv2.imread(img_path), cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'