[ WARN:0@46.878] global loadsave.cpp:244 cv::findDecoder imread_('D:/users/xxxx/Documents/va/视频样例/nuscenes/samples/CAM_FRONT/n015-2018-07-24-11-22-45+0800__CAM_FRONT__1532402927612460.jpg'): can't open/read file: check file path/integrity
Traceback (most recent call last): File "C:\Users\xxxx\PycharmProjects\pythonProject1\main.py", line 8, in <module> nusc.render_scene_channel(my_scene_token, 'CAM_FRONT')
File "D:\programs\anaconda\lib\site-packages\nuscenes\nuscenes.py", line 584, in render_scene_channel self.explorer.render_scene_channel(scene_token, channel=channel, freq=freq, imsize=imsize, out_path=out_path)
File "D:\programs\anaconda\lib\site-packages\nuscenes\nuscenes.py", line 1761, in render_scene_channel im = cv2.resize(im, imsize)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4062: error: (-215:Assertion failed)
原因:路径中有中文,要变成英文