You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/content/gdrive/My Drive/Project/semseg/util/dataset.py", line 64, in getitem
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) # convert cv2 read image from BGR order to RGB order
cv2.error: OpenCV(4.5.4-dev) /tmp/pip-req-build-v2fnlv3a/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
aparently the code can't open the ADE dataset, i've placed on ade20k_pspnet50.yaml data_root the path to ADE Dataset, inside the folder with the following items "ADE (containing training models and validation), index_ade20k.mat, index_ade20k.pkl, objects.txt" what could I be doing wrong?
The text was updated successfully, but these errors were encountered:
File "/content/gdrive/My Drive/Project/semseg/util/dataset.py", line 64, in getitem
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) # convert cv2 read image from BGR order to RGB order
cv2.error: OpenCV(4.5.4-dev) /tmp/pip-req-build-v2fnlv3a/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
aparently the code can't open the ADE dataset, i've placed on ade20k_pspnet50.yaml data_root the path to ADE Dataset, inside the folder with the following items "ADE (containing training models and validation), index_ade20k.mat, index_ade20k.pkl, objects.txt" what could I be doing wrong?
The text was updated successfully, but these errors were encountered: