TensorBoard报错:InvalidArgumentError: You must feed a value for placeholder tensor 'inputs/x_input' wi
来源:互联网 发布:新蓝鸟轮毂数据 编辑:程序博客网 时间:2024/06/06 20:44
InvalidArgumentError: You must feed a value for placeholder tensor ‘inputs/x_input’ with dtype float
[[Node: inputs/x_input = Placeholder[dtype=DT_FLOAT, shape=[], _device="/job:localhost/replica:0/task:0/cpu:0"]()]]
在使用TensorBoard进行可视化的时候,出现了上面描述的错误。这个错误和dtype没有关系。目前个人理解为是当前路径下不能存在一个以上的events文件。解决方案有以下几个:
1. 到存储的路径下把之前生成的文件给删了;
2. 引用自别人的评论:
if you’re using IPython or Jupyter, it’ll cause that problem after running repeatedly.
there are two main ways that you could fix that:
A.
tf.reset_default_graph()
call firstly, before your tf operations code
B.
using
with tf.Graph().as_default() as g: # your tf operations code
For details, please refer https://stackoverflow.com/questions/35114376/error-when-computing-summaries-in-tensorflow
如果有别的错误也可以参考这篇博文:
http://blog.csdn.net/u012436149/article/details/53894364
阅读全文
0 0
- TensorBoard报错:InvalidArgumentError: You must feed a value for placeholder tensor 'inputs/x_input' wi
- ValueError: Cannot feed value of shape (1,) for Tensor u'Placeholder:0', which has shape '(1, 1)'
- tensorflow.python.framework.errors.InvalidArgumentError: Input to reshape is a tensor with xxx value
- SharePoint Wiki Page 编辑内容保存时报错:you must specify a value for this required field
- TensorFlow报错InvalidArgumentError (see above for traceback)
- ValueError: Cannot feed value of shape (64, 10) for Tensor u'Placeholder_1:0', whichhas shape '(10,
- SharePoint 2010 Error: You must specify a value for this required field
- errors_impl.InvalidArgumentError: Input to reshape is a tensor
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle
- Maven工程报错:No goals have been specified for this build. You must specify a valid lifecycle phase or a
- You must supply a resourceID for a TextView
- You must supply a resourceID for a TextView
- 执行openstack命令报错【You must provide a username via either -...】
- 报错:The specified child already has a parent. You must call removeView
- 绑定数据报错 The specified child already has a parent. You must call remove
- Python报错:ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can
- Python报错:ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that ca
- Tomcat 报错:Packet for query is too large (12238 > 1024). You can change this value
- 剑指offer python语言解法
- 关于Oracle并行处理
- Linux修改系统时间
- Java异常的深入研究与分析
- 转载网络上最简单易懂的KMP模式匹配算法——外加代码实现
- TensorBoard报错:InvalidArgumentError: You must feed a value for placeholder tensor 'inputs/x_input' wi
- Android Wi-Fi 获取RSSI的代码流程
- C++ 调用Asprise OCR识别图片中的文字
- 我喜爱的Ubuntu主题
- [JZSC2017]【GDOI2018模拟7.12】总结
- 线程同步,对象级别的锁和类级别的锁
- Word标准简单格式
- SVN客户端--TortoiseSVN使用说明
- erlang面试