Open utya opened 1 week ago
./test_yolo_cpp_bytrack.sh environment variable SPDLOG_STDOUT is not set, and set true environment variable SPDLOG_SYSTEMD is not set, and set false environment variable SPDLOG_LEVEL is not set, and set default level [INFO] load lable /root/rk3588-yolo-demo/src/yolov8/model/coco_80_labels_list.txt [INFO] There are 80 lines [INFO] rknn_init() is called [INFO] sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.9.3 [INFO] model input num: 1, and output num: 9 [INFO] input tensors: [INFO] index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003921569 [INFO] output tensors: [INFO] model is NHWC input fmt [INFO] model input height=640, width=640, channel=3 [INFO] rknn_dup_context() is called [INFO] sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.9.3 [INFO] model input num: 1, and output num: 9
I am running your code, built everything according to the instructions, but I can’t get an FPS higher than 23. Could the operating system be the issue?
set export SPDLOG_LEVEL=debug, and upload your all the log.
@kaylorchen https://gist.github.com/utya/9c6f65c9feea4d22c01a5a424300b8dc maybe kernel 6 is reason?
@kaylorchen https://gist.github.com/utya/9c6f65c9feea4d22c01a5a424300b8dc maybe kernel 6 is reason?
What is your model version? the inference time takes 130ms. 130ms/ 4 threads = 33ms, max fps: 30.
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
yes, 1.6.0
with one thread model M (2.3.0) [INFO] model type is 2 [INFO] chair @ (347 215 515 438) 0.8828281 [INFO] cup @ (542 221 557 239) 0.59976524 [INFO] laptop @ (220 206 283 251) 0.59976524 [INFO] image count = 878, image res count = 877, delta = 1, duration = 71ms [INFO] rknn_outputs_post_process cost time: 0.232ms [DEBUG] Inference time is 68ms and total time is 70ms
with one thread model yolov8n.rknn (1.6.0) [DEBUG] Inference time is 17ms and total time is 19ms [INFO] ImagePostProcess is called [INFO] model type is 2 [INFO] person @ (468 159 555 345) 0.7167225 [INFO] image count = 668, image res count = 664, delta = 4, duration = 43ms [INFO] rknn_outputs_post_process cost time: 0.152ms [DEBUG] Inference time is 17ms and total time is 19ms
Could you advise what else to check? Could it be due to the lack of a cooler? Or because the system is running on a USB flash drive?
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
with one thread model yolov8n.rknn (1.6.0) [DEBUG] Inference time is 17ms and total time is 19ms [INFO] ImagePostProcess is called [INFO] model type is 2 [INFO] person @ (468 159 555 345) 0.7167225 [INFO] image count = 668, image res count = 664, delta = 4, duration = 43ms [INFO] rknn_outputs_post_process cost time: 0.152ms [DEBUG] Inference time is 17ms and total time is 19ms
Could you advise what else to check? Could it be due to the lack of a cooler? Or because the system is running on a USB flash drive?
This result seems to be correct. I think it is a heat dissipation problem.
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
with one thread model yolov8n.rknn (1.6.0) [DEBUG] Inference time is 17ms and total time is 19ms [INFO] ImagePostProcess is called [INFO] model type is 2 [INFO] person @ (468 159 555 345) 0.7167225 [INFO] image count = 668, image res count = 664, delta = 4, duration = 43ms [INFO] rknn_outputs_post_process cost time: 0.152ms [DEBUG] Inference time is 17ms and total time is 19ms Could you advise what else to check? Could it be due to the lack of a cooler? Or because the system is running on a USB flash drive?
This result seems to be correct. I think it is a heat dissipation problem.
maybe ... USB
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
with one thread model yolov8n.rknn (1.6.0) [DEBUG] Inference time is 17ms and total time is 19ms [INFO] ImagePostProcess is called [INFO] model type is 2 [INFO] person @ (468 159 555 345) 0.7167225 [INFO] image count = 668, image res count = 664, delta = 4, duration = 43ms [INFO] rknn_outputs_post_process cost time: 0.152ms [DEBUG] Inference time is 17ms and total time is 19ms Could you advise what else to check? Could it be due to the lack of a cooler? Or because the system is running on a USB flash drive?
This result seems to be correct. I think it is a heat dissipation problem.
maybe ... USB
usb camera? logitech c270
thanks for your code Initially, I used Ubuntu with kernel 6. But the latest logs are already on kernel 5.
i use your model https://github.com/kaylorchen/rk3588-yolo-demo/blob/master/src/yolov8/model/yolov8n.rknn My camera outputs 30 fps. When I provide a 1920x1080 30 fps video, I get 8 fps. Could you tell me how you achieve 120 fps? What are you testing on?
I think you should use single threaded mode and test your inference speed. may be some hardware issues or your cpu/npu frequency is too low. 130ms inference time for yolov8n model is too long.
Did you use version 1.6.0?
with one thread model yolov8n.rknn (1.6.0) [DEBUG] Inference time is 17ms and total time is 19ms [INFO] ImagePostProcess is called [INFO] model type is 2 [INFO] person @ (468 159 555 345) 0.7167225 [INFO] image count = 668, image res count = 664, delta = 4, duration = 43ms [INFO] rknn_outputs_post_process cost time: 0.152ms [DEBUG] Inference time is 17ms and total time is 19ms Could you advise what else to check? Could it be due to the lack of a cooler? Or because the system is running on a USB flash drive?
This result seems to be correct. I think it is a heat dissipation problem.
maybe ... USB
usb camera? logitech c270
The c270 doesn't have 30fps in low light. I also have a c270 so I know the camera doesn't have enough fps.
What affordable options with good FPS would you recommend?
I am running your code, built everything according to the instructions, but I can’t get an FPS higher than 23. Could the operating system be the issue?