I tried to run the code webcam_demo.py on a video clip.
When I use caffe.set_mode_cpu, the average frame rate is about 9 second per frame.
However, when I use caffe.set_mode_gpu, it takes about 107s to process the first frame of the video and about 5 frames per second starting from the second frame.
Why it takes such a long time using GPU when processing first frame? Is there any way to improve the frame rate while processing the first frame?
@alexgkendall Hello,
I tried to run the code webcam_demo.py on a video clip.
When I use
caffe.set_mode_cpu
, the average frame rate is about 9 second per frame.However, when I use
caffe.set_mode_gpu
, it takes about 107s to process the first frame of the video and about 5 frames per second starting from the second frame.Why it takes such a long time using GPU when processing first frame? Is there any way to improve the frame rate while processing the first frame?
Thank you!!!