Closed RRK13 closed 4 years ago
Error while executing the "python train_crfnet.py --config configs/crf_net.cfg" Python version: Python 3.6.9 Open-CV version: '4.1.2'
` File "../crfnet/data_processing/generator/nuscenes_generator.py", line 429, in load_image img_p_full = self.image_plus_creation(self.nusc, image_data=image_sample, radar_data=radar_sample, **kwargs) File "../crfnet/data_processing/fusion/fusion_projection_lines.py", line 480, in imageplus_creation cur_img, camera_resize = _resize_image(image_data, image_target_shape) File "../crfnet/data_processing/fusion/fusion_projection_lines.py", line 46, in _resize_image resized_image = cv2.resize(image_data, stupid_confusing_cv2_size_because_width_and_height_are_in_wrong_order)
cv2.error: OpenCV(3.4.9) /io/opencv/modules/imgproc/src/resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'resize'`
I am not sure why it's showing as OpenCV(3.4.9) in the error statement, the OpenCV version is 4.1.2 inside the virtual environment
Error while executing the "python train_crfnet.py --config configs/crf_net.cfg" Python version: Python 3.6.9 Open-CV version: '4.1.2'
` File "../crfnet/data_processing/generator/nuscenes_generator.py", line 429, in load_image img_p_full = self.image_plus_creation(self.nusc, image_data=image_sample, radar_data=radar_sample, **kwargs) File "../crfnet/data_processing/fusion/fusion_projection_lines.py", line 480, in imageplus_creation cur_img, camera_resize = _resize_image(image_data, image_target_shape) File "../crfnet/data_processing/fusion/fusion_projection_lines.py", line 46, in _resize_image resized_image = cv2.resize(image_data, stupid_confusing_cv2_size_because_width_and_height_are_in_wrong_order)
cv2.error: OpenCV(3.4.9) /io/opencv/modules/imgproc/src/resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'resize'`
I am not sure why it's showing as OpenCV(3.4.9) in the error statement, the OpenCV version is 4.1.2 inside the virtual environment