当前位置:网站首页>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 该怎么翻译呢? 矩阵的秩? 阶?
边栏推荐
- 8.穿插-从架构设计到实践理解ThreadPoolExecutor线程池
- 使用R包PreMSIm根据基因表达量来预测微卫星不稳定
- DOD and Dor, two artifacts to reduce "cognitive bias"
- DoD 和 DoR,消减「认知偏差」的两大神器
- 深度强化学习应用实践技巧
- 判断两个对象的值是否都相等
- How can agile development reduce cognitive bias in collaboration| Agile way
- ADB shell WM command and usage:
- Determine whether the values of two objects are equal
- 重磅 | 开放原子校源行活动正式启动
猜你喜欢

报表控件FastReport与StimulSoft功能对比

If distributed file storage is realized according to integrated Minio

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

Leetcode binary tree series -- 144. Preorder traversal of binary trees

Watch the open source summit first | quick view of the sub Forum & Activity agenda on July 29

One click blog building: how to use WordPress plug-in to build a dedicated blog

Drawing box and ellipse of WPF screenshot control (IV) "imitating wechat"

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

美团、饿了么被杭州市监约谈要求落实食品安全管理责任 严禁恶意竞争

基于flask写的一个小商城mall项目
随机推荐
98. (cesium chapter) cesium point heat
Survival analysis using rtcga clinical data
LeetCode_416_分割等和子集
Sunwenlong, Secretary General of the open atom open source foundation, worked together to expand open source
会议OA项目----我的审批
Using R-Pack premsim to predict microsatellite instability based on gene expression
PHP basics uses arrays to save data
Less than 10% of the 3 software test interview questions can be answered correctly! How many do you know?
Software testing dry goods
factoextra:多元统计方法的可视化PCA
Steps of project explanation in interview
Using xgboost with tidymodels
JVM知识点详细整理(长文警告)
ADDS:使用 PowerShell 创建 OU 结构
Getting started with pytoch
聊聊性能测试环境搭建
牛客网刷题
Basic construction of QT project
Error: Protobuf syntax version should be first thing in file
Adcode city code in Gaode map API