pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.82k stars 21.32k forks source link

How to test the speed? #204

Open 408550969 opened 7 years ago

408550969 commented 7 years ago

How was the FPS obtained in the paper? Another question:I modified height and width in YOLO-VOC.cfg. Why the speed hasn't changed?

408550969 commented 7 years ago

My GPU is GTX1070, the FPS is 9.

408550969 commented 7 years ago

When I change another MP4, the FPS become 27 Weight=1104,Height=622. The size of the last MP4 is Weight=1080,Height=1920. Does the speed of YOLO2 depend on the size of the video?

25b3nk commented 7 years ago

It does not depend on the size of the video but the input size of the network.

AlexeyAB commented 7 years ago

@408550969 Try to test FPS on MP4 files using this fork of Darknet Yolo v2 on Linux: https://github.com/AlexeyAB/darknet

408550969 commented 7 years ago

THANKS!

AlexeyAB commented 7 years ago

@408550969 You can get about 80-87 FPS on GTX 1080Ti using DLL(Windows)/SO(Linux)-library on 1920x1200 video-stream: https://groups.google.com/d/msg/darknet/8qC4k_cWgOc/TDxjY34ZBQAJ

CruisWoo commented 6 years ago

@AlexeyAB I get the FPS every frame on video 1920x1080,and in the terminal in ubuntu 16.04,it can only show FPS in the last few frame.How i get average FPS on this video?