Tensorflow的几种数据增强的方式:缩放、扩大、翻转、调整亮度、调整对比度等
好久之前的代码,有些乱。import tensorflow as tfimport matplotlib.pyplot as pltfrom PIL import Imagefrom numpy import uint8with tf.Session() as sess:# 读取原图像并显示 original_image = Image.open("C:/Users/ccc/...