Toybrick

yolov5 test.py "cannot reshape array"问题求助

nbplus

新手上路

积分
44
楼主
发表于 2022-9-15 15:11:08    查看: 1803|回复: 0 | [复制链接]    打印 | 只看该作者
rknn-toolkit-1.7.1,example中的pytorch yolov5 test.py,实际测试出现如下问题,请大牛们指点,搞了两天了都没搞定,谢谢
--> Init runtime environment
librknn_runtime version 1.7.1 (bd41dbc build: 2021-10-28 16:15:23 base: 1131)
done
--> Running model
Warning: Cmodel got negative postshift!
Warning: Cmodel got negative postshift!
Warning: Cmodel got negative postshift!
Traceback (most recent call last):
  File "test.py", line 294, in <module>
    input1_data = input1_data.reshape([3,-1]+list(input1_data.shape[-2:]))
ValueError: cannot reshape array of size 409600 into shape (3,newaxis,40,40)


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表