【发布时间】:2016-02-24 08:13:17
【问题描述】:
我试过了:
test_image = tf.convert_to_tensor(img, dtype=tf.float32)
然后出现如下错误:
ValueError: Tensor conversion requested dtype float32 for Tensor with dtype int64: 'Tensor("test/ArgMax:0", shape=TensorShape([Dimension(None)]), dtype=int64)'
【问题讨论】:
标签: tensorflow int64