Error: input elem num(408000) reshaped elem num(102000)
在rv1126上运行Tengine的demo时报错,
Error: input elem num(408000) != reshaped elem num(102000)
Tengine FATAL: Infer node(id: 276, op: Reshape) shape failed.
Tengine: Infer shape of graph failed(-1).
Prerun multithread graph failed.
使用的命令为
./build/install/bin/tm_yolov5s -m models/yolov5s.tmfile -i images/ssd_dog.jpg -r 1 -t 1
经查找,原因是代码tm_yolov5s.cpp中有如下代码
Error: input elem num(408000) reshaped elem num(102000)相关推荐
- 报错解决transmission: Error: Input/Output error和ls: reading directory '': Input/output error
transmission: Error: Input/Output error 晚上想用transmission下载新的种子时报错:Error: Input/Output error. 我很奇怪,先运 ...
- Action中五个常量解释,(success,error,input,login,none)
Action中五个常量解释,(success,error,input,login,none) 英文注释 中文释义 staticString ERROR The actionexecution was ...
- Linux 磁盘坏块修复处理(错误:read error: Input/output error)
当磁盘出现坏块时,你对所关联的文件进行读取时,一般会出现 read error: Input/output error 这样的错误. 反过来讲,当你看到 read error: Input/outpu ...
- C语言关于一维数组【num】、【num】、【num[0]】的区别
#include<stdio.h> int main() {int num[5] = { 1,2,3,4,5 };int* p = (int*)(&num + 1);int* p1 ...
- python中 “%.2f“%num与{:.2f}.format(num)
print("三角形面积为 %0.2f" % area) print("{:.2f}".format(area)) 例子1 编程输入三角形的边长,输出三角形有面 ...
- 【Python】Error:Input 'y' of 'Add' Op has type float32 that does not match type int32 of argument 'x'.
学习Python,碰到数据类型不一致进行运算出现的问题,问题现象.原因.解决办法如下. 1.问题代码 # 引入 tensorflow 模块 import tensorflow as tf# 创建两个常 ...
- sha256加密时报错 [TMA] Error: input is invalid type
私密数据通过接口传输时,一般都需要进行加密.而加密方式又有很多,诸如md5,sha1,sha256- 在使用sha256的时候遇到一个报错信息: 经过一番研究,发现sha256加密的内容必须是一个字符 ...
- JZOJ__Day 5:【普及模拟】num
题目描述 KC邀请他的两个小弟K和C玩起了数字游戏.游戏是K和C轮流操作进行的,K为先手.KC会先给定一个数字Q,每次操作玩家必须写出当前数字的一个因数来代替当前数字,但是这个因数不能是1和它本身.例 ...
- 给定一个非负整数num,范围中的每个数字i 计算其二进制中1的个数
输入:3 输出:0,1,1,2 法一 num=int(input()) numlist=[] reslist=[] #1.1输入0 if num==0:reslist.append(bin(0)) # ...
最新文章
- springboot 初始化线程池_springboot项目中线程池的使用
- Redis随笔Jedis、jedisCluster的使用
- pat 1025 反转链表
- 如何从 SAP Fiori Elements List Report Table 点击事件响应函数里拿到表格某一行的信息
- vue插槽面试题_关于前端Vue框架的面试题,面试官可能会问到哪些。?
- Android_(游戏)打飞机04:绘画敌机、添加子弹
- uva 10163——Storage Keepers
- 问题 seata_架构设计 | 基于Seata中间件,微服务模式下事务管理
- 【软件开发底层知识修炼】二十七 C/C++中的指针与数组是不同的
- 心心念特斯拉Cybertruck?现在可以下单了,订金1000块
- 2019 年的 Linux 会如何?
- java getchild_Java IFileStore.getChild方法代碼示例
- 看书看困了,写几句提提精神
- Python还有发展前景吗?现在该怎么去学习?
- 浮动元素遇到标准流元素 会发生转角遇到爱
- AI方向的实验室调研(截至18年,未更新)
- centos格式化U盘
- 字谜 大小写重复全排列问题
- 区块链学习笔记15——ETH状态树
- web安全防火墙介绍