models icon indicating copy to clipboard operation
models copied to clipboard

Can I inference multi-pictures simultaneously when conducting object detection?

Open friskit-china opened this issue 9 years ago • 2 comments

All the pictures have the same size. Can I conduct the object detection on more than one pictures (batch_size>1) simultaneously?

Thanks :)

friskit-china avatar Jul 19 '17 14:07 friskit-china

using models/object_detection/export_inference_graph.py you can export a graph. In order to have a graph that takes batches of size > 1 go to object_detection/exporter.py and in _image_tensor_input_placefolder() set the shape for your needs.

rozental avatar Jul 31 '17 08:07 rozental

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

Harshini-Gadige avatar Oct 31 '18 21:10 Harshini-Gadige