TensorFlow 遇到的问题(二)
来源:互联网 发布:期货信息软件 编辑:程序博客网 时间:2024/05/29 04:40
关键字:tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot parse tensor from proto: dtype: DT_FLOAT
File "D:\PY\pyproject\Res_Cnn\renet\cell.py", line 181, in <module> tf.app.run()File "C:\Users\asus pc\AppData\Local\Programs\Python\Python35\Lib\site-packages\tensorflow\python\platform\app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough))File "D:\PY\pyproject\Res_Cnn\renet\cell.py", line 175, in main train()File "D:\PY\pyproject\Res_Cnn\renet\cell.py", line 50, in train sess.run(init) #todo current bug pointFile "C:\Users\asus pc\AppData\Local\Programs\Python\Python35\Lib\site-packages\tensorflow\python\client\session.py", line 895, in run run_metadata_ptr)File "C:\Users\asus pc\AppData\Local\Programs\Python\Python35\Lib\site-packages\tensorflow\python\client\session.py", line 1124, in _run feed_dict_tensor, options, run_metadata)File "C:\Users\asus pc\AppData\Local\Programs\Python\Python35\Lib\site-packages\tensorflow\python\client\session.py", line 1321, in _do_run options, run_metadata)File "C:\Users\asus pc\AppData\Local\Programs\Python\Python35\Lib\site-packages\tensorflow\python\client\session.py", line 1340, in _do_call raise type(e)(node_def, op, message)tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot parse tensor from proto: dtype: DT_FLOATtensor_shape {dim {size: 524288}dim {size: 4096}}float_val: 0
解决方式:意思是524288维度的tensor对于内存来说太大,你的内存不够,把网路维度减小就能解决,我的情况是在全连接层前面加了一层池化把维度减小了
阅读全文
0 0
- TensorFlow 遇到的问题(二)
- tensorflow 遇到的问题
- TensorFlow 遇到的问题(三)
- 安装tensorflow遇到的问题
- tensorflow可视化遇到的问题
- tensorflow笔记: 遇到的问题
- 学习tensorflow遇到的问题
- 安装Tensorflow遇到的问题
- 初学tensorflow遇到的问题
- install tensorflow 遇到的问题
- tensorflow-gpu遇到的问题
- TensorFlow安装所遇到的问题
- Ubuntu pip安装tensorflow遇到的问题
- 安装tensorflow过程遇到的问题
- 我学tensorflow遇到的问题【总结】
- 安装tensorflow过程遇到的问题
- tensorflow安装时遇到的问题
- TensorFlow-入门-00-安装遇到的问题
- [JZOJ5456]【NOIP2017提高A组冲刺11.6】奇怪的队列
- okhttp+Retrofit+gson实现的基于https的服务器实现范例
- spark性能调优(三)shuffle的map端内存缓冲reduce端内存占比
- ClassNotFoundException: org.springframework.web.util.Log4jConfigLi
- 第九周,1题目:编写一个学生类students,该类成员变量包括学号no、姓名name、性别sex、和年纪age
- TensorFlow 遇到的问题(二)
- 按日期倒序排列,为空放在最上方展示
- 小问题合集
- 说说如何实现可扩展性的大型网站架构
- 根文件系统及Busybox简介
- 【蓝桥杯】【马虎的算式】
- 计算机CPU占用率居高不下,经常100%,目前解决方面如下
- LintCode刷题(容易篇 一)
- KMP算法的概述