tensorflow
超人睡不着也变无奈
这个作者很懒,什么都没留下…
展开
-
Inception_v3模型
解压出来是ckpt文件是谷歌官方训练过的网络可用于迁移学习https://download.csdn.net/download/xingbaide/10870982原创 2018-12-23 21:25:13 · 471 阅读 · 0 评论 -
Tensorflow图像预处理(1)解码和编码
#jpeg解码和编码import matplotlib.pyplot as pltimage_raw_data=tf.gfile.FastGFile(“pic/ma.jpg”,“rb”).read() #读图 图片不是utf8编码的话,就需要改成rb而不是rwith tf.Session() as sess:img_data=tf.image.decode_jpeg...原创 2018-12-29 15:01:08 · 214 阅读 · 0 评论 -
Tensorflow图像预处理(2)大小调整
简单的图像预处理,包含对图像的反转和裁剪等基本操作,代码中有详细注释#图像大小调整import matplotlib.pyplot as pltimage_raw_data=tf.gfile.FastGFile("pic/ma.jpg","rb").read() #读图 图片不是utf8编码的话,就需要改成rb而不是rwith tf.Session() as...原创 2018-12-29 15:09:04 · 1105 阅读 · 1 评论 -
Tensorflow图像预处理(3)色彩调整
#图像色彩调整#调整图片的亮度,对比度,饱和度,色相等import matplotlib.pyplot as pltimage_raw_data=tf.gfile.GFile("pic/ma.jpg","rb").read()with tf.Session() as sess: img_data=tf.image.decode_jpeg(image_raw_data) ...原创 2018-12-29 15:50:40 · 1104 阅读 · 0 评论 -
tensorfow操作大全
https://blog.csdn.net/edward_zcl/article/details/82704973转载 2019-04-16 16:30:45 · 218 阅读 · 0 评论