求大佬帮忙
藐视亦切 发布于2020-06-02 15:34 浏览:97 回复:2
0
收藏
快速回复

File "D:/深度学习作业/paddletest/11111.py", line 129, in
fetch_list=[avg_cost, acc]) # fetch均方误差和准确率
File "D:\python\1\envs\paddle\lib\site-packages\paddle\fluid\executor.py", line 1071, in run
six.reraise(*sys.exc_info())
File "D:\python\1\envs\paddle\lib\site-packages\six.py", line 703, in reraise
raise value
File "D:\python\1\envs\paddle\lib\site-packages\paddle\fluid\executor.py", line 1066, in run
return_merged=return_merged)
File "D:\python\1\envs\paddle\lib\site-packages\paddle\fluid\executor.py", line 1154, in _run_impl
use_program_cache=use_program_cache)
File "D:\python\1\envs\paddle\lib\site-packages\paddle\fluid\executor.py", line 1229, in _run_program
fetch_var_name)

在训练神经网络出现这个错误,开始给网络喂入数据是,特别的是我如果把优化算法删除后,就能运行下去了

卡在了这句train_cost, train_acc = exe.run(program=fluid.default_main_program(), # 运行主程序
feed=feeder.feed(data), # 喂入一个batch的数据
fetch_list=[avg_cost, acc]) # fetch均方误差和准确率

帮帮孩子吧

收藏
点赞
0
个赞
共2条回复 最后由藐视亦切回复于2020-06-02 18:42
#3藐视亦切回复于2020-06-02 18:42:33

问题找到了,显卡显存不够,谢谢~~

0
#2鹿鼎记肯定回复于2020-06-02 16:52:29

错误麻烦贴一下,或者贴一下能复现的代码

0
TOP
切换版块