![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
安逸风声
这个作者很懒,什么都没留下…
展开
-
tensorflow学习——spyder创建的文件如何保存到别的路径
如图所示只需要选择一个新的目录就可以换掉工作空间地址。原创 2018-01-14 13:23:23 · 13079 阅读 · 1 评论 -
tensorflow学习——read_data_sets一直报连接超时
from tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("MNIST_data/",one_hot=True)print(mnist.train.images.shape,mnist.train.labels.shape)这是一个简单的小例子,只是获取数据集,但是原创 2018-01-15 12:19:24 · 4883 阅读 · 0 评论 -
tensorflow——小总结
1、spyder里按住ctrl键可以跳转代码2、shape是一个维度,constant是一个常量,get_variable用的时候要注意。3、错误1:Attempting to use uninitialized value Variable_21没有初始化变量的值import tensorflow as tfw=tf.Variable([2,3],"ss")sess=tf.Interact...原创 2018-04-05 12:49:56 · 185 阅读 · 0 评论