understand_facenet
understand_facenet copied to clipboard
TypeError: Expected uint8, got 0.0 of type 'float' instead.
在运行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