question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get FPS for a model?

See original GitHub issue

How to get FPS for a model?

Note

We only consider adding new features if they are relevant to many users.

If you request implementation of research papers – we only consider papers that have enough significance and prevalance in the object detection field.

We do not take requests for most projects in the projects/ directory, because they are research code release that is mainly for other researchers to reproduce results.

“Make X faster/accurate” is not a valid feature request. “Implement a concrete feature that can make X faster/accurate” can be a valid feature request.

Instead of adding features inside detectron2, you can implement many features by extending detectron2. The projects/ directory contains many of such examples.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kirkzZcommented, Dec 28, 2021

If I set the SOLVER.IMS_PER_BATCH’, ‘8’ ,so the fps = 8/time

0reactions
kirkzZcommented, Dec 28, 2021

Thanks,in a word: if I set num_gpus=4 and SOLVER.IMS_PER_BATCH’, ‘8’, and get the log:eta: 9:58:17 iter: 174159 total_loss: 0.9185 loss_cls: 0.229 loss_box_reg: 0.2562 loss_mask: 0.2784 loss_rpn_cls: 0.04507 loss_rpn_loc: 0.0934 time: 0.3831 data_time: 0.0075 lr: 0.01 max_mem: 3067M

so the fps=8/(4*0.3831)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Increase Frame Per Second (FPS) Rate in Custom Object ...
Here, I will briefly walk you through all the other necessary steps as we plan to improve the Frame per second (FPS) rate....
Read more >
How to calculate various model speed in FPS for my GPU? In ...
If you have HDD, this time is higher than detection time for some fast models. One way to get average speed would be:...
Read more >
4. Computing FLOPS, latency and fps of a model
Model FLOPS # params fps Latency Top‑1 Accuracy resnet18_v1b_kinetics400 1.819 11.382 264.01 0.0038 66.73 resnet34_v1b_kinetics400 3.671 21.49 151.96 0.0066 69.85 resnet50_v1b_kinetics400 4.110 24.328 114.05 0.0088 70.88...
Read more >
Find frame rate (frames per second-fps) in OpenCV (Python/C ...
The documentation says that get(CAP_PROP_FPS) or get(CV_CAP_PROP_FPS) gives the frames per second. Now that is true for video files, but not for ...
Read more >
Miniatures fps - Cinematography Mailing List
The model we are to shoot is 1/48 scale. The square root of 48 is 6.9 and when multiplied by 24fps to achieve...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found