tensorflow的图片预处理

一、图片的读取--使用gfile(单张图片样例)

img_raw_data=tf.gfile.FastGFile("F:\\自己研究项目\\TensorFlow\\cat.jpg","rb").read()

二、matplotlib.pyplot添加title中文乱码问题

matplotlib.pyplot

猜你喜欢

转载自my.oschina.net/shea1992/blog/1785050