Ultra-Light-Fast-Generic-Face-Detector-1MB icon indicating copy to clipboard operation
Ultra-Light-Fast-Generic-Face-Detector-1MB copied to clipboard

version-RFB-640.onnx issue

Open BehnazDibayee opened this issue 5 years ago • 1 comments

Hello Linzaer @Linzaer I've tried to use "version-RFB-640.onnx" model with "ultra_face_opencvdnn_inference.py" code but it gives me this error:

cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\dnn\src\layers\slice_layer.cpp:147: error: (-215:Assertion failed) requiredOutputs > 0 && inpShape[axis] % requiredOutputs == 0 in function 'cv::dnn::SliceLayerImpl::getMemoryShapes'

However your other simplified onnx models work well. But these three don't: "version-RFB-640.onnx" , "version-RFB-320.onnx" , "version-slim-320.onnx"

Would you please add models "version-RFB/slim-640-simplified" in your Repo or tell me how to encounter with this error ? I need your "640" models.

Thanks

BehnazDibayee avatar Mar 27 '20 13:03 BehnazDibayee

Also it would be great if you add caffe models for RFB-640 and slim-640

BehnazDibayee avatar Mar 27 '20 14:03 BehnazDibayee