You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refer to #61 post. I added the custom code for using a video demo. However, when I run the code. The video is process at an average of 5 fps. Even I added --gpu 0 . I tested on picture with both cpu and gpu. The execution time is the same. How to increase the processing speed?
The text was updated successfully, but these errors were encountered:
Refer to #61 post. I added the custom code for using a video demo. However, when I run the code. The video is process at an average of 5 fps. Even I added --gpu 0 . I tested on picture with both cpu and gpu. The execution time is the same. How to increase the processing speed?
Maybe you used tensorflow rather than tensorflow-gpu, because when you installed tensorflow-CPU and tensorflow-GPU, only CPU will work, you can try
import tensorflow as tf
with tf.device('/cpu:0'):
a = tf.constant ([1.0, 2.0, 3.0], shape=[3], name='a')
b = tf.constant ([1.0, 2.0, 3.0], shape=[3], name='b')
with tf.device('/gpu:1'):
c = a + b
Refer to #61 post. I added the custom code for using a video demo. However, when I run the code. The video is process at an average of 5 fps. Even I added
--gpu 0
. I tested on picture with both cpu and gpu. The execution time is the same. How to increase the processing speed?The text was updated successfully, but these errors were encountered: