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
When I am running on your sample images in Section "Pre-cropped images and training labels for FLIC", I got the following errors:
**
I0511 02:21:53.280088 6621 net.cpp:477] conv2 <- pool1
I0511 02:21:53.280124 6621 net.cpp:433] conv2 -> conv2
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/color.cpp, line 3648
terminate called after throwing an instance of 'cv::Exception'
what(): /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/color.cpp:3648: error: (-215) scn == 3 || scn == 4 in function cvtColor**
Is it because of a different OpenCV version you are using? What is OpenCV version you are using. Thanks.
Song
The text was updated successfully, but these errors were encountered:
I always get that error when it doesn't find the images.
Make sure you have a "/" at the end of the "root_img_dir: .." string. And if you're using his flic data, don't put a "train/" or "test/" at the end of that same string, "train/" is part of the image names given in train_shuffle.txt, and it doesn't find the folder "/train/train".
Hi,
When I am running on your sample images in Section "Pre-cropped images and training labels for FLIC", I got the following errors:
**
I0511 02:21:53.280088 6621 net.cpp:477] conv2 <- pool1
I0511 02:21:53.280124 6621 net.cpp:433] conv2 -> conv2
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/color.cpp, line 3648
terminate called after throwing an instance of 'cv::Exception'
what(): /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/color.cpp:3648: error: (-215) scn == 3 || scn == 4 in function cvtColor**
Is it because of a different OpenCV version you are using? What is OpenCV version you are using. Thanks.
Song
The text was updated successfully, but these errors were encountered: