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
Hi bittnt,
Thanks a lot for this code.
I ran this algorithm on my dataset and I got the error which has troubled me for a long time.
The error report is :
Warning /home/bnnt/software/Objectness-master/Src/Objectness.cpp:304 not enough training sample for r[0] = 2. P = 0, N = 6760
xp.size = 0 xN.size = 6760
OpenCV Error: Assertion failed (!fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows)) in create, file /home/bnnt/opencv-3.1.0/modules/core/src/matrix.cpp, line 2232
terminate called after throwing an instance of 'cv::Exception'
what(): /home/bnnt/opencv-3.1.0/modules/core/src/matrix.cpp:2232: error: (-215) !fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows) in function create
I find there no positive samples in "xP".
Do you know how to fix it?
Thanks a lot.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
Hi bittnt,
Thanks a lot for this code.
I ran this algorithm on my dataset and I got the error which has troubled me for a long time.
The error report is :
Warning /home/bnnt/software/Objectness-master/Src/Objectness.cpp:304 not enough training sample for r[0] = 2. P = 0, N = 6760
xp.size = 0 xN.size = 6760
OpenCV Error: Assertion failed (!fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows)) in create, file /home/bnnt/opencv-3.1.0/modules/core/src/matrix.cpp, line 2232
terminate called after throwing an instance of 'cv::Exception'
what(): /home/bnnt/opencv-3.1.0/modules/core/src/matrix.cpp:2232: error: (-215) !fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows) in function create
I find there no positive samples in "xP".
Do you know how to fix it?
Thanks a lot.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: