Problem Statement: Could not able to make batch image processing in GO Tensorflow.
I have been going through following URL on GoLang Tensorflow. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/example_inception_inference_test.go
I am Facing problem while making batch of images for input to model. Check this line https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/example_inception_inference_test.go#L199
Any help will be appreciated!
result, err := classifier.Session.Run(
map[tf.Output]*tf.Tensor{
inputTensor.Output(0): imageTensor,
},
[]tf.Output{
outputTensorOne.Output(0),
outputTensorTwo.Output(0),
},
nil, /*targets*/
)
// How to make that imageTensor a batch of images in GO Tensorflow.