- for _ in range(20):
- start = time.time()
- outputs = rknn.inference(inputs=[img])
- end = time.time()
- print('eval time: {}'.format(end-start))
复制代码
发现实际inference的时间是115ms左右,和eval_perf的结果(47ms)相差的比较远,是因为调用的overhead吗?欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |