
tensorflow
Csclion
这个作者很懒,什么都没留下…
展开
-
windows下安装tensorflow
我采用的是Anaconda安装。目前tensorflow支持的是Python3.5,然鹅Anaconda官网目前最新的是Python3.6。Windows64位Python3.5的Anaconda请看这里。链接:http://pan.baidu.com/s/1hrKy4Bi 密码:bezz步骤: 1.安装Anaconda,一路next2.在Anaconda的终端中,建立一个名为tensorflow原创 2017-03-13 13:53:06 · 545 阅读 · 0 评论 -
有日志文件,tensorboard却没有显示
之前我运行的时候,在cmd中打开了tensorboard之后,总是什么也没有。明明都有日志文件了。今天我debug的时候突然发现,咦,为什么这个log_directory总是指向我的C盘?就算是我这么写:python -m tensorflow.tensorboard --logdir=F:\tensorflow\tensorboard\mnist\logs\mnist_with_summaries原创 2017-03-29 16:27:13 · 10561 阅读 · 4 评论 -
tensorflow中tensor的理解
import tensorflow as tfa = tf.constant([1.0, 2.0], name = 'a')b = tf.constant([2.0, 3.0], name = 'b')result = tf.add(a, b, name = 'add')print(result)结果:Tensor(“add:0”, shape=(2,), dtype=float32) 张原创 2017-04-17 11:21:22 · 1248 阅读 · 0 评论 -
tensorflow 中 name_scope 及 variable_scope 的异同
看到一篇对name_scope和variable_scope的理解,感觉不错。 原文地址:http://www.cnblogs.com/welhzh/p/6590212.htmlLet’s begin by a short introduction to variable sharing. It is a mechanism in TensorFlow that allows for sharin转载 2017-04-17 11:28:01 · 414 阅读 · 0 评论 -
tensorflow 中import prettytensor 出错
tensorflow中import prettytensor出错原创 2017-09-04 10:27:43 · 2746 阅读 · 1 评论 -
tf.nn.conv2d中stride对输出的影响
卷积中stride对输出尺寸的影响原创 2017-09-22 17:09:45 · 1922 阅读 · 0 评论 -
tensorflow查看自己的图片数据报错UnicodeEncodeError
Sypder中的tensorflow查看自己的图片数据报错:UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd5' in position 1892: surrogates not allowed原创 2017-10-31 18:02:04 · 2715 阅读 · 1 评论 -
tensorflow处理自己的图像数据(不使用队列)
我们的原数据:某路径下的图片数据(比如*.jpg) 所需目标数据:一个包含batch_size张图的tensor,大小为[batch_size, image_height, image_width, channel],tensor的dtype为tf.float32。原创 2017-12-19 17:42:07 · 405 阅读 · 0 评论 -
彻底弄懂tf.Variable、tf.get_variable、tf.variable_scope以及tf.name_scope异同
我之前有转载过一篇讲tf.variable_scope和tf.name_scope的文章,今天一看,觉得还是没介绍太清楚,没讲到点子上,毕竟英文什么的看起来还是挺麻烦的。故而,今天来细细梳理下tf.Variable、tf.get_variable、tf.variable_scope以及tf.name_scope四者之间的区别与联系。原创 2017-12-06 15:18:58 · 8021 阅读 · 2 评论