当前位置:网站首页>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 ?
边栏推荐
- Add: create Ou structure using PowerShell
- Discussion on the application of arcing smart electricity in elderly care institutions
- sql join中on条件后接and和where
- 多线程顺序运行的 4 种方法,面试随便问!
- Hugo NexT V4 介绍
- LeetCode二叉树系列——144.二叉树的前序遍历
- 浅谈安科瑞灭弧式智慧用电在养老机构的应用
- Determine whether the values of two objects are equal
- Xiaoxiao authorization system V5.0 happy version
- Exclusive interview | Cheng Li, chief technology officer of Alibaba: cloud + open source together form a credible foundation for the digital world
猜你喜欢

阿里P8爆出的这份大厂面试指南,看完工资暴涨30k!

IPv6 Foundation

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

The heavy | open atomic school source activity was officially launched

TCP and UDP

「PHP基础知识」使用数组保存数据

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

Exclusive interview | Cheng Li, chief technology officer of Alibaba: cloud + open source together form a credible foundation for the digital world

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

How to realize the function of adding watermark
随机推荐
DoD 和 DoR,消减「认知偏差」的两大神器
️ 炒 股 实 战丨原 地 起 飞 ️
GBase8s Informix Dodker 高可用集群自恢复集群启动命令oninitdb的设计与实现
Spark efficient data analysis 01. Establishment of idea development environment
leetcode-位运算
Understand what a binary tree is (types, traversal methods, definitions of binary trees)
IPv6 Foundation
TCP和UDP
ES6 arrow function this points to
「PHP基础知识」使用数组保存数据
Ggdag draw DAG and cause and effect diagram
PHP basics uses arrays to save data
Alibaba architects spent a year sorting out the "Lucene advanced document", and you are also a big factory employee!
ECCV 2022 | SSP: 自支持匹配的小样本任务新思想
sql join中on条件后接and和where
Regular expression matching URL
为什么应该在开发环境中使用 Kubernetes
开放原子开源基金会秘书长孙文龙 | 凝心聚力,共拓开源
如何使用“COPY –link”加速 Docker 构建和优化缓存
Talk about the establishment of performance testing environment