![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TensorFlow
LeeTioN
书写是为了更好地思考。
展开
-
Tensorflow实战——使用Estimator创建卷积神经网络
这里是LeeTioN的博客前言本篇文章是针对GitHub上的一个TensorFlow实例来进行源码讲解和分析Esitmator简介Esitmator是用来封装网络模型和参数的类,它的父类estimator(小写字母e)的其它子类有线性回归和分类等其他经典模型,而Esitmator用于构造自定义网络模型。 Estimator定义和传参方式在Estimator中我们需...原创 2018-04-07 13:34:41 · 1296 阅读 · 0 评论 -
Windows使用TensorFlow-GPU导致IPython Notebook 崩溃问题 'CUBLAS_STATUS_ALLOC_FAILED'
在IPython Notebook中执行训练步骤的时候,可能没有任何提示的就突然崩溃了,这时候要注意看控制台的提示。 会显示报错failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED 原文解释在这里https://www.tensorflow.org/programmers_guide/using_gpu The fir...原创 2018-06-21 22:59:20 · 1103 阅读 · 0 评论 -
Tensorflow API tf.contrib.layers.linear() 用法
最近在网上看到一些基于TensorFlow的Demo,其中很多例子用到了tf.contrib.layer.linear这个接口,查了一下发现官方文档已经将此功能换了名字(已经遇到了很多次这种情况了),最后在Stack Overflow里面的一个问题里面找到了解释。 https://stackoverflow.com/questions/41627738/why-is-there-no-menti...原创 2018-06-26 22:11:00 · 8401 阅读 · 1 评论 -
TensorFlow 报错:unhashable type: 'numpy.ndarray' error
在TensorFlow运行计算图的过程中,sess.run()那行可能会出现报错 unhashable type: 'numpy.ndarray' error 大致意思为不可哈希的类型问题出现在feed_dict 里面。我们知道,feed_dict 参数一般存放占位符placeholder 所指向的具体的数据,以字典方式存储。而Python中字典的key和value类型是有限制的,并不是所有类...原创 2018-07-02 19:30:53 · 22917 阅读 · 2 评论