jkjung-avt / tensorrt_demos

TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet
https://jkjung-avt.github.io/
MIT License
1.74k stars 545 forks source link

Calculate FPS #559

Closed QuyNguyen87 closed 2 years ago

QuyNguyen87 commented 2 years ago

Hello, I don't quite understand your FPS calculation in trt_yolo.py.file , can you explain to me more clearly what is your idea and how to calculate your FPS? Thank you very much. 284280162_434655124714217_4006564705016193731_n

jkjung-avt commented 2 years ago

Assuming FPS is stable after the program has been running for a while, follow the steps below: