当前位置:网站首页>关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
2022-07-07 17:52:00 【那美那美】
问题是什么:
如图,对vgg16使用opencv的dnn模块进行推理时出现错误。
错误的详细日志为:
[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) # 加载训练好的识别模型
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_i
边栏推荐
- 索引总结(突击版本)
- R language ggplot2 visualization: use the ggviolin function of ggpubr package to visualize the violin diagram, set the palette parameter to customize the filling color of violin diagrams at different
- R语言ggplot2可视化:使用ggpubr包的ggqqplot函数可视化QQ图(Quantile-Quantile plot)
- Mysql, sqlserver Oracle database connection mode
- What does "true" mean
- 干货分享|DevExpress v22.1原版帮助文档下载集合
- 杰理之关于 TWS 配对方式配置【篇】
- R语言ggplot2可视化:使用ggpubr包的ggdensity函数可视化分组密度图、使用stat_overlay_normal_density函数为每个分组的密度图叠加正太分布曲线
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
- Download from MySQL official website: mysql8 for Linux X Version (Graphic explanation)
猜你喜欢
Kirin Xin'an won the bid for the new generation dispatching project of State Grid!
PMP对工作有益吗?怎么选择靠谱平台让备考更省心省力!!!
Kirin Xin'an cloud platform is newly upgraded!
Simulate the implementation of string class
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
Make insurance more "safe"! Kirin Xin'an one cloud multi-core cloud desktop won the bid of China Life Insurance, helping the innovation and development of financial and insurance information technolog
# 欢迎使用Markdown编辑器
Responsibility chain model - unity
Sword finger offer II 013 Sum of two-dimensional submatrix
剑指 Offer II 013. 二维子矩阵的和
随机推荐
模拟实现string类
杰理之发起对耳配对、回连、开启可发现、可连接的轮循函数【篇】
Jerry's headphones with the same channel are not allowed to pair [article]
LeetCode_ 7_ five
Kirin Xin'an with heterogeneous integration cloud financial information and innovation solutions appeared at the 15th Hunan Financial Technology Exchange Conference
Browse the purpose of point setting
位运算介绍
【STL】vector
The DBSCAN function of FPC package of R language performs density clustering analysis on data, checks the clustering labels of all samples, and the table function calculates the two-dimensional contin
浏览积分设置的目的
R language dplyr package mutate_ At function and min_ The rank function calculates the sorting sequence number value and ranking value of the specified data column in the dataframe, and assigns the ra
Leetcode force buckle (Sword finger offer 36-39) 36 Binary search tree and bidirectional linked list 37 Serialize binary tree 38 Arrangement of strings 39 Numbers that appear more than half of the tim
Solve the error reporting problem of rosdep
银行理财产品怎么买?需要办银行卡吗?
torch.nn.functional.pad(input, pad, mode=‘constant‘, value=None)记录
【RT-Thread env 工具安装】
指定opencv非标准安装的版本
线性基
编译器优化那些事儿(4):归纳变量
LC:字符串转换整数 (atoi) + 外观数列 + 最长公共前缀