MiDaS icon indicating copy to clipboard operation
MiDaS copied to clipboard

Cannot read models.

Open SpOOnySk opened this issue 4 years ago • 0 comments

Hello,

I am trying to read .onnx models but I get this error:

cv2.error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite_1534379934306\work\modules\dnn\src\dnn.cpp:3044: error: (-2:Unspecified error) Cannot determine an origin framework of files: models/model-small.onnx in function 'cv::dnn::experimental_dnn_v5::readNet'

I tried onnx lib to validate the model and it is fine. Any suggestions how to fix this?

SpOOnySk avatar Dec 27 '21 08:12 SpOOnySk