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
I wanted to use your caffe model trained on DETRAC with OpenCV to do inference on a test image but I get the following error:
cv2.error: OpenCV(4.5.1) C:\Users\samelson\AppData\Local\Temp\pip-req-build-fupgqc0e\opencv\modules\dnn\src\dnn.cpp:3113: error: (-215:Assertion failed) inp.total() in function 'cv::dnn::dnn4_v20201117::Net::Impl::allocateLayers
I tried with both vgg16_eb_1-3-5_final.caffemodel and vgg16_eb_5_final.caffemodel
Hi,
I wanted to use your caffe model trained on DETRAC with OpenCV to do inference on a test image but I get the following error:
cv2.error: OpenCV(4.5.1) C:\Users\samelson\AppData\Local\Temp\pip-req-build-fupgqc0e\opencv\modules\dnn\src\dnn.cpp:3113: error: (-215:Assertion failed) inp.total() in function 'cv::dnn::dnn4_v20201117::Net::Impl::allocateLayers
I tried with both
vgg16_eb_1-3-5_final.caffemodel
andvgg16_eb_5_final.caffemodel
Here is the code I used:
Does anyone know if it's possible to do inference with OpenCV with those models or is there particular layers that are not implemented in OCV?
Thank you in advance.
The text was updated successfully, but these errors were encountered: