msracver / FCIS

Fully Convolutional Instance-aware Semantic Segmentation
MIT License
1.57k stars 415 forks source link

OpenCV Error: Assertion failed (dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0)) #113

Open PerthyChen opened 6 years ago

PerthyChen commented 6 years ago

when I train on the Pacal VOC,it successfully finishes.But when it comes to test,it comes out the error # OpenCV Error: Assertion failed (dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0)) in resize, file /home/tau/opencv/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp, line 3230  /home/tau/opencv/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp:3230: error: (-215) dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0) in function resize # I search this error on the website ,the similiar error and the resolution is on the website:http://blog.csdn.net/traumland/article/details/52264498 It says that it is something wrong with the HOGdescriptor. All in all, ①it means there is no wrong with the opencv code. ②I test on the Pascal ,so there should be no wrong with the dataset. ③somtimes it tests successfully,but the result of mAP is 0(see #112 ) What i wish you can offer is what's the meaning of this error ,what's the source of the error and what should I do to solve it. Your answer will be appreciated.Thanks.

altep commented 6 years ago

In this link, it is because image size is too big. But I'm still in suffering same error. I hope it will be helful. https://blog.csdn.net/yuezhilanyi/article/details/78115901