Toybrick
标题:
我用转换的yolov3的weights,1808中提示出错
[打印本页]
作者:
330wang
时间:
2020-7-31 14:25
标题:
我用转换的yolov3的weights,1808中提示出错
1808s0主动模式,用的是网上下的yolov3.weights转换的rnkk文件,转换后的rnkk文件是118M.
[toybrick@rk1808 1808]$ python3 yolov3_server.py
start listen...
connect from
'192.168.180.1', 51621)
--> Init runtime environment
done
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/toybrick/1808/rknn_server_class.py", line 54, in __deal
data = post_func(outputs)
File "yolov3_server.py", line 165, in post_process
out_boxes = out_boxes.reshape(SPAN, LISTSIZE, GRID0, GRID0)
ValueError: cannot reshape array of size 92055 into shape (3,85,13,13)
这个怎么解决?
作者:
leok
时间:
2020-8-3 09:10
后处理shape不对。你确定下下载的模型输出shape,以及类别数量。
作者:
cfan
时间:
2021-1-14 08:57
请问一下楼主这个问题解决了吗?
作者:
TonyYu
时间:
2023-2-21 14:16
可能是下载的yolov3.weight模型有问题,我下载的文件本来是256M,结果只有12M,所以出现这种错误
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3