-
Notifications
You must be signed in to change notification settings - Fork 45.4k
Description
Hello guys, I successfully trained my object detector using my custom dataset.Using the file object_detection_tutorial.ipynb provided from the original object detection module, I observed the fact that during the inference time, the CPU has to work a lot (almost 100%) while the GPU usage doesnt change much.
(boxes, scores, classes, num_detections) = sess.run([boxes, scores, classes, num_detections], feed_dict={image_tensor: image_np_expanded})
I suspect that 'feed_dict={image_tensor: image_np_expanded})` will use CPU for detection so I am asking you guys that is there any ways to utilize GPU for object detection using Tensorflow ?
In my case, it took 0.3 s for SSD_MobileNets but FasterRCNN_resnet 101 took almost 8 second to make prediction for one image.

