Toybrick

标题: 我用转换的yolov3的weights,1808中提示出错 [打印本页]

作者: 330wang    时间: 5 天前
标题: 我用转换的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    时间: 前天 09:10
后处理shape不对。你确定下下载的模型输出shape,以及类别数量。




欢迎光临 Toybrick (http://t.rock-chips.com/) Powered by Discuz! X3.3