ethnhe / PVN3D

Code for "PVN3D: A Deep Point-wise 3D Keypoints Hough Voting Network for 6DoF Pose Estimation", CVPR 2020
MIT License
488 stars 105 forks source link

How to test the fps of the program? #39

Closed Apollo19971206 closed 3 years ago

Apollo19971206 commented 4 years ago

Hello author, may I ask how to test the fps of the program? Can you tell me the general method? I'm doing a comparative test. Thank you!

ethnhe commented 3 years ago

We simply set a time counter between the network forward and the model output to get the runtime. We run the whole test set and calculate the mean of runtime for each frame. The inference time is reported in our paper.