Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in visualizing dataset #45

Closed
charlescho64 opened this issue Jun 7, 2021 · 0 comments
Closed

Error in visualizing dataset #45

charlescho64 opened this issue Jun 7, 2021 · 0 comments

Comments

@charlescho64
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant