leafqycc / rknn-cpp-Multithreading

A simple demo of yolov5s running on rk3588/3588s using c++ (about 142 frames). / 一个使用c++在rk3588/3588s上运行的yolov5s简单demo(142帧/s)。
Apache License 2.0
463 stars 86 forks source link

读取mp4仅有4FPS #51

Closed Leo5050xvjf closed 1 month ago

Leo5050xvjf commented 2 months ago

请问这可能是什么原因造成的?我的librknnrt.so 和 librga.so 和librknn_api.so都是取自rknn model zoo 2.1.0

  1. Model: YOLOv5s
  2. input size 640 640
  3. activation function: relu
  4. threadNum=1, FPS=4, threadNum=2, FPS=8
  5. target platform: RK3576
  6. OS: Linux sige5 6.1.57 #30 SMP Wed Jun 19 11:37:28 CST 2024 aarch64 GNU/Linux

screen shot:image

leafqycc commented 2 months ago

请问这可能是什么原因造成的?我的librknnrt.so 和 librga.so 和librknn_api.so都是取自rknn model zoo 2.1.0

  1. Model: YOLOv5s
  2. input size 640 640
  3. activation function: relu
  4. threadNum=1, FPS=4, threadNum=2, FPS=8
  5. target platform: RK3576
  6. OS: Linux sige5 6.1.57 #30 SMP Wed Jun 19 11:37:28 CST 2024 aarch64 GNU/Linux

screen shot:image

仓库main分支只适配了v1.5.2,我猜是版本兼容性问题?不过您这个能跑也是很神奇了(),之前有人用v2.0.0的库都跑不起来

Leo5050xvjf commented 1 month ago

解决了,结果是我后处理有地方写错!