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.
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.