当前位置:网站首页>INVALID_ ARGUMENT : Invalid rank for input: modelInput Got: 3 Expected: 4 Please fix either the input
INVALID_ ARGUMENT : Invalid rank for input: modelInput Got: 3 Expected: 4 Please fix either the input
2022-07-29 10:59:00 【Master Fuwen】
HXDM See if you made this mistake
INVALID_ARGUMENT : Invalid rank for input: modelInput Got: 3 Expected: 4
Please fix either the inputs or the model.
modelInput Is my onnx The name of the model input
This is a mistake , It's very simple , intend onnx The input to the model is
[1, 3, 224, 224]
As a result, you sent
[3, 224, 224]
One dimension is 4, One dimension is 3, So it is INVALID ARGUMENT( Invalid input )
I recorded this mistake , Mainly Invalid rank for input, If he says yes Invalid shape for input, I just understand , But this rank How to translate ? The rank of a matrix ? rank ?
边栏推荐
- QT工程基本构建
- Function comparison between report control FastReport and stimulus soft
- AI模型风险评估 第2部分:核心内容
- Site data collection -scrapy usage notes
- 小笑授权系统V5.0开心版
- LeetCode_278_第一个错误的版本
- PyQt5快速开发与实战 6.6 QFormLayout(表单布局) && 6.7 嵌套布局 && 6.8 QSplitter
- 大伟 GBase8s游标稳定性读ESQL测试用例
- Software testing dry goods
- Qt 之自定义界面(实现无边框、可移动)
猜你喜欢

QWidget、QDialog、QMainWindow 的异同点

浅谈安科瑞灭弧式智慧用电在养老机构的应用

QT基本工程的解析

Std:: vector copy, append, nested access

ECCV 2022 | ssp: a new idea of small sample tasks with self-supporting matching

DOD and Dor, two artifacts to reduce "cognitive bias"

重磅 | 开放原子校源行活动正式启动

Meeting OA project (V) -- meeting notice and feedback details

Learning R language these ebooks are enough!

阿里架构师耗时一年整理的《Lucene高级文档》,吃透你也是大厂员工!
随机推荐
基本.分块
开源峰会抢先看 | 7月29日分论坛&活动议程速览
Spark efficient data analysis 02, basic knowledge 13
浅谈string中的compareTo方法
正则表达式匹配网址
How to synchronize when the primary and sub warehouses are modified?
浅谈安科瑞灭弧式智慧用电在养老机构的应用
3.认识和操作一下mysql的基本命令
LeetCode_278_第一个错误的版本
美团、饿了么被杭州市监约谈要求落实食品安全管理责任 严禁恶意竞争
Analysis of QT basic engineering
Drawing box and ellipse of WPF screenshot control (IV) "imitating wechat"
Spark高效数据分析02、基础知识13篇
js两个数组对象进行合并去重
How to use grep to find pattern matching across multiple lines
自采集在线电脑壁纸php源码v2.0自适应端
PyQt5快速开发与实战 6.6 QFormLayout(表单布局) && 6.7 嵌套布局 && 6.8 QSplitter
Hugo NexT V4 介绍
IPV6基础
GBase8s核心数据备份