【问题标题】:How do I save the tflearn logs into tflearn.model?如何将 tflearn 日志保存到 tflearn.model 中?
【发布时间】:2020-12-17 17:21:37
【问题描述】:

所以基本上我忘了为每个训练循环保存我的模型。如何将 /tmp/tflearn_logs/subdir 保存到模型中?有什么方法可以将其收集为模型,例如:

# Save a model
model.save('my_model.tflearn')

来自事件日志?

然后我可以自动加载它:

# Load a model
model.load('my_model.tflearn')

这是我的事件日志:

谢谢你..

【问题讨论】:

    标签: tensorflow google-colaboratory tflearn


    【解决方案1】:

    没关系,没有办法做到这一点。因为日志只保存我们的事件数据用于可视化目的,而模型用于使用 tflearn 学习模型。他们都以相反的方式工作。解决方案:重新创建 save('.model.tflearn') 并从 0 开始运行。:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-29
      • 1970-01-01
      • 2012-01-12
      • 1970-01-01
      • 2017-09-25
      • 1970-01-01
      相关资源
      最近更新 更多