当前位置:网站首页>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:51:00 【氵文大师】
HXDM 看看是不是报的这个错
INVALID_ARGUMENT : Invalid rank for input: modelInput Got: 3 Expected: 4
Please fix either the inputs or the model.
modelInput 是我 onnx 模型输入的名字
这个错,意思很简单,意思是 onnx 模型的输入是
[1, 3, 224, 224]
结果你送入了
[3, 224, 224]
一个维度是4,一个维度是3,所以是INVALID ARGUMENT(无效的输入)
我记录这个错,主要是 Invalid rank for input,他要是说是 Invalid shape for input,我就秒懂,但是这个 rank 该怎么翻译呢? 矩阵的秩? 阶?
边栏推荐
- Determine whether the values of two objects are equal
- 通过tidymodels使用XGBOOST
- 开源峰会抢先看 | 7月29日分论坛&活动议程速览
- 基于flask实现的mall商城---用户模块
- 使用R包PreMSIm根据基因表达量来预测微卫星不稳定
- QT基本工程的解析
- Kunlunbase instruction manual (III) data import & synchronization
- If distributed file storage is realized according to integrated Minio
- A tour of grp:04 - GRP unary call unary call
- 一文搞懂什么是二叉树(二叉树的种类、遍历方式、定义)
猜你喜欢

A tour of grp:04 - GRP unary call unary call

Basic construction of QT project

专访 | 阿里巴巴首席技术官程立:云 + 开源共同形成数字世界的可信基础

开源峰会抢先看 | 7月29日分论坛&活动议程速览

Discussion on the application of arcing smart electricity in elderly care institutions

Open source, compliance escort! 2022 open atom global open source summit open source compliance sub forum is about to open

重磅 | 2022 开放原子全球开源峰会在北京开幕

1. (map tools) detailed tutorial of acrgis desktop10.5 software installation

The 2022 open atom global open source summit opened in Beijing

阿里架构师耗时一年整理的《Lucene高级文档》,吃透你也是大厂员工!
随机推荐
就这?TypeScript其实并不难!(建议收藏)
3道软件测试面试题,能全答对的人不到10%!你会几个?
StarRocks 技术内幕:实时更新与极速查询如何兼得
Use R-Pack skimr to collect the beautiful display of President measurement
阿里架构师耗时一年整理的《Lucene高级文档》,吃透你也是大厂员工!
2022cuda summer training camp Day1 practice
Site data collection -scrapy usage notes
Leetcode binary tree series -- 144. Preorder traversal of binary trees
深度强化学习应用实践技巧
从零开始Blazor Server(3)--添加cookie授权
建议收藏丨sql行转列的一千种写法!!
Using xgboost with tidymodels
[unity, C #] character keyboard input steering and rotation
QT工程基本构建
Error: Protobuf syntax version should be first thing in file
LeetCode_1049_最后一块石头的重量Ⅱ
使用R包PreMSIm根据基因表达量来预测微卫星不稳定
GPO:在 Start/Logon 中使用 PowerShell 脚本
Roots of equations in R language dichotomy and Newton iteration
周鸿祎:360是世界上最大的安全大数据公司