【发布时间】:2019-02-18 08:11:21
【问题描述】:
问题说明:无法在 GO Tensorflow 中进行批量图像处理。
我在 GoLang Tensorflow 上浏览了以下 URL。 https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/example_inception_inference_test.go
我在制作一批图像以输入模型时遇到问题。 检查这一行 https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/example_inception_inference_test.go#L199
任何帮助将不胜感激!
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.
【问题讨论】:
标签: tensorflow go