当前位置:网站首页>关于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
边栏推荐
- mock.js从对象数组中任选数据返回一个数组
- 一锅乱炖,npm、yarn cnpm常用命令合集
- 凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
- 爬虫实战(七):爬王者英雄图片
- 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
- 【Confluence】JVM内存调整
- 【STL】vector
- R语言ggplot2可视化:使用ggpubr包的ggdensity函数可视化分组密度图、使用stat_overlay_normal_density函数为每个分组的密度图叠加正太分布曲线
- 微信公众号OAuth2.0授权登录并显示用户信息
- 索引总结(突击版本)
猜你喜欢
Introduction to bit operation
编译器优化那些事儿(4):归纳变量
8 CAS
微信公众号OAuth2.0授权登录并显示用户信息
转置卷积理论解释(输入输出大小分析)
九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
Navicat连接2002 - Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘解决
【STL】vector
剑指 Offer II 013. 二维子矩阵的和
Kirin Xin'an with heterogeneous integration cloud financial information and innovation solutions appeared at the 15th Hunan Financial Technology Exchange Conference
随机推荐
位运算介绍
LC:字符串转换整数 (atoi) + 外观数列 + 最长公共前缀
How to buy bank financial products? Do you need a bank card?
R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
Some arrangements about oneself
[sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
8 CAS
PMP对工作有益吗?怎么选择靠谱平台让备考更省心省力!!!
Redis——基本使用(key、String、List、Set 、Zset 、Hash、Geo、Bitmap、Hyperloglog、事务 )
PMP每日一练 | 考试不迷路-7.7
Jürgen Schmidhuber回顾LSTM论文等发表25周年:Long Short-Term Memory. All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversarial RL. Soccer learn
8 CAS
Le PGR est - il utile au travail? Comment choisir une plate - forme fiable pour économiser le cœur et la main - d'œuvre lors de la préparation de l'examen!!!
R语言fpc包的dbscan函数对数据进行密度聚类分析、查看所有样本的聚类标签、table函数计算聚类簇标签与实际标签构成的二维列联表
what‘s the meaning of inference
Make this crmeb single merchant wechat mall system popular, so easy to use!
【Confluence】JVM内存调整
R语言ggplot2可视化:使用ggpubr包的ggecdf函数可视化分组经验累积密度分布函数曲线、linetype参数指定不同分组曲线的线型
强化学习-学习笔记8 | Q-learning
Kunpeng developer summit 2022 | Kirin Xin'an and Kunpeng jointly build a new ecosystem of computing industry