TensorFlow学习笔记(UTF-8 问题解决 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte)
解决方案:
1 image_raw_data
2
3 image_raw_data = tf.gfile.FastGFile('sse.jpg', 'r').read()
4 # 替换为:
5 image_raw_data= tf.gfile.FastGFile('sse.jpg', 'rb').read()