chaoyuaw / pytorch-coviar

Compressed Video Action Recognition
https://www.cs.utexas.edu/~cywu/projects/coviar/
GNU Lesser General Public License v2.1
500 stars 126 forks source link

How to compute FPS of one video #58

Closed luyao777 closed 5 years ago

luyao777 commented 5 years ago

Hi, I want to ask how do you compute the fps of one video during testing phase. Is the nunber of frames of one video is 25 or is the true frames of the video?

Thank you very much. :grin:

chaoyuaw commented 5 years ago

I'm not sure if I understand your question correctly, but training and testing videos are created in the same way. That is, we didn't make the testing video exactly 25 frames. We sample 25 frames from the video during testing (https://github.com/chaoyuaw/pytorch-coviar/blob/master/test.py).

luyao777 commented 5 years ago

Thanks ! :yum: