彭杨 发表于 2021-8-13 11:21:04

YOLOV5运行时间太长,不符合性能,大神帮看一下

librga:RGA_GET_VERSION:3.02,3.020000
ctx=0x5575c649e0,ctx->rgaFd=3
Rga built version:version:+2017-09-28 10:12:42
*************************
all device(s) with ntb mode:
0123456789ABCDEF
*************************
-->loading model : weights/yolov5s.rknn
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI:   API: 1.6.1 (f78b668 build: 2021-05-17 16:34:14)
D RKNNAPI:   DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
D RKNNAPI: ==============================================
done
inference time:0.3302485942840576
total time 0.571782112121582

895816513 发表于 2022-7-12 09:11:20

rknn升级到1.7.1版本。单独编译内核,启用PCIE加速

参考WIKI RK3399Pro NPU Manual:
https://wiki.t-firefly.com/AIO-3399ProC/usage_npu.html


PCIE-加速补丁:
https://wiki.t-firefly.com/zh_CN/3399pro_npu/npu_intro.html

895816513 发表于 2022-7-12 09:12:36

速度大概可以快7成吧
页: [1]
查看完整版本: YOLOV5运行时间太长,不符合性能,大神帮看一下