-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is definition of ms and fps ? #366
Comments
👋 Hello @rumjie, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix. If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. We try to respond to all issues as promptly as possible. Thank you for your patience! |
@rumjie hi there, You're correct in your understanding. "ms" refers to milliseconds, indicating the inference time for each image. "fps" stands for frames per second, showing how many frames the model can process in a second. The discrepancy you're noticing between the calculated fps (from ms/frame) and the displayed fps might be due to the additional operations that are performed apart from the model's inference. These additional operations can include image capturing, pre-processing, post-processing, displaying results on the screen, etc., all of which contribute to the total time taken for each frame but aren't included in the inference time (ms). The displayed fps takes into account the total time for all these operations for each frame. So, even though your specific inference is taking around 12~13 ms, the total process per frame could require enough additional time to approximate to 30 frames per second. That's why you see the fps value around 30 on your phone's display. Thank you for your question! If you have any more queries, don't hesitate to ask. |
Search before asking
Question
Hi, I am trying ultralytics hub app with my phone.
On real-time detection on camera, I can find ms and fps values and I would like to ask what this is exactly meaning.
I can guess ms is for inference time for each images and fps is how many frames the model can infer at a second.
However, with my phone, inference time for a image is 12~13 ms and fps is almost fixed with 30.
With simple calculation 12 ms/frame is about 83 fps which is quite different with the value showed on display. Could you explain why this difference occurs?
Additional
No response
The text was updated successfully, but these errors were encountered: