pjreddie / darknet

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

Preview windows looks very slow while the fps is 20+ #1711

Open jszgz opened 5 years ago

jszgz commented 5 years ago

The preview in the output window is very slow, which looks like 1fps. But the fps in the terminal is 24. Command I use: ./darknet -i 1 detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights data/videotest.MOV and I compiled with GPU=1 OPENCV=1 CUDNN=1, on 4x TITAN XP .

Michi-123 commented 5 years ago

I recommend to try to make with ' CUDNN=0'.

jszgz commented 5 years ago

This is not the solution to this problem.

Michi-123 commented 5 years ago

I think you need 'GTX1080' or higher GPU.

jszgz commented 5 years ago

I think you need 'GTX1080' or higher GPU.

I use TITAN XP, it's faster than GTX 1080. And I think the point is that the fps is 20+ but the preview window refreshes very slow.

jszgz commented 5 years ago

my os is Ubuntu 16.04

sainisanjay commented 5 years ago

@chwangteng Hi may i know how you are testing fps because i would like to test fps on my Nvidia Jetson TX2 Board?? What changes you made in the code?? Thanks

jszgz commented 5 years ago

@chwangteng Hi may i know how you are testing fps because i would like to test fps on my Nvidia Jetson TX2 Board?? What changes you made in the code?? Thanks

Nothing changed. I just want to run a detector demo.