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'
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'