System Information
opencv version 4.7.0-dev
operation system ubuntu 20.04
python 3.8.10
Detailed description
i am trying to read the paddle onnx model using cv.dnn.readnet() function , but it is throwing error. but the onnx model works fine with onnxruntime.
cv2.error: OpenCV(4.7.0-dev) /home/neoastra/opencv/modules/dnn/src/onnx/onnx_graph_simplifier.cpp:85: error: (-212:Parsing error) Initializer with name Constant_119 not found in function 'getInputInitializerId'
Steps to reproduce
install ppocr from paddleocr github repo.
export the recognition model into onnx format using paddle2onnx.
then use open.dnn.readnet(rec_model.onnx) you will get the error
Issue submission checklist
System Information
opencv version 4.7.0-dev
operation system ubuntu 20.04
python 3.8.10
Detailed description
i am trying to read the paddle onnx model using cv.dnn.readnet() function , but it is throwing error. but the onnx model works fine with onnxruntime.
cv2.error: OpenCV(4.7.0-dev) /home/neoastra/opencv/modules/dnn/src/onnx/onnx_graph_simplifier.cpp:85: error: (-212:Parsing error) Initializer with name Constant_119 not found in function 'getInputInitializerId'Steps to reproduce
install ppocr from paddleocr github repo.
export the recognition model into onnx format using paddle2onnx.
then use open.dnn.readnet(rec_model.onnx) you will get the error
Issue submission checklist