BING-Objectness
BING-Objectness copied to clipboard
what is D on line 7
what is D on line 7 of FilterTIG.cpp CV_Assert(w1f.cols * w1f.rows == D && w1f.type() == CV_32F && w1f.isContinuous());
when i try to run i get the following error: openCV Error: Assertion failed (w1f.cols * w1f.rows == D && w1f.type() == CV_32F && w1f.isContinuous()) in update, file .../BING/FilterTIG.cpp,
The variable D is declared here. I am not entirely sure why this might happen. My guess would be that the model has different parameters during training and testing.
i checked using print outs.. somehow w1f.cols and w1f.rows are both 0 while D is 64 if i remember correctly.. any clue why that might happen? i can imshow the image properly without any problems.
The update method is called here. The input variable filters1f
is the model loaded from file. So can you check if the model is saved and loaded properly.