understand_facenet icon indicating copy to clipboard operation
understand_facenet copied to clipboard

TypeError: Expected uint8, got 0.0 of type 'float' instead.

Open a01163125 opened this issue 2 years ago • 0 comments

在运行train文件的时候报错:

Try this: image = tf.image.decode_image(file_contents, channels=3,dtype=tf.float32) Before: image = tf.image.decode_image(file_contents, channels=3)

我自己加了数据类型。 不知道是不是tf的版本问题, 我的版本是1.15

a01163125 avatar Nov 20 '22 09:11 a01163125