Interest/기타

[Tensorflow] TypeError: Value passed to parameter 'input' has DataType uint8 not in list of allowed values: float16, bfloat16, float32, float64 해결 방법

roytravel 2020. 4. 27. 21:49

 

 

img = tf.image.convert_image_dtype(img, tf.float32)