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