我尝试训练张量流;我使用以下代码将结果写入tensorboard:
test_writer.add_summary(summary_strTest, i)
train_writer.add_summary(summary_str, i)
train_writer.flush()
test_writer.flush()
经过500步后,它开始显示此错误(编写摘要):
tensorflow/core/util/events_writer.cc:97] Write failed because file could not be opened.
E tensorflow/core/util/events_writer.cc:63] Could not open events file: ./logs/train/events.out.tfevents.1468372504.al: Resource exhausted: ./logs/train/
我看到资源耗尽是因为内存不足但我有2GB以上的免费
然后经过100步后必须写入检查点,它就会崩溃。
在终端的tensorboard服务器上,我收到以下消息:
WARNING:tensorflow:Found more than one graph event per run. Overwriting the graph with the newest event.
我不知道为什么它不能在500步后写入文件。我的日志文件夹,test,train在运行后每个都有505个文件。