当前位置:网站首页>About cv2 dnn. Readnetfromonnx (path) reports error during processing node with 3 inputs and 1 outputs [exclusive release]

About cv2 dnn. Readnetfromonnx (path) reports error during processing node with 3 inputs and 1 outputs [exclusive release]

2022-07-07 20:07:00 That's beautiful that's beautiful

What's the problem :

Pictured , Yes vgg16 Use opencv Of dnn An error occurred while the module was reasoning .

 

 The detailed log of the error is :

[ERROR:[email protected]] global D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_importer.cpp (1021) cv::dnn::dnn4_v20220524::ONNXImporter::handleNode DNN/ONNX: ERROR during processing node with 3 inputs and 1 outputs: [Conv]:(onnx_node!StatefulPartitionedCall/vgg16/conv_bn_two_relu_pool1/conv_bn_one_relu/conv2d/Conv2D) from domain='ai.onnx'
Traceback (most recent call last):
  File "D:/DLAI/qwenAILearn/StudyDNN/trainOnnx/test2.py", line 6, in <module>
    net = cv2.dnn.readNetFromONNX(path)  #  Load the trained recognition model 
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_i
原网站

版权声明
本文为[That's beautiful that's beautiful]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071749460411.html