【发布时间】:2018-06-26 20:59:59
【问题描述】:
目前,我正在使用 tensorflow estimator API 来训练我的 tf 模型。我正在使用基于训练数据大小的几乎 20-50 个工作人员和 5-30 个参数服务器的分布式训练。由于我无权访问会话,因此无法使用 run metadata a=with full trace 查看 chrome 跟踪。我看到还有其他两种方法:
1) tf.profiler.profile
2)tf.train.profilerhook
我专门使用
tf.estimator.train_and_evaluate(estimator, train_spec, test_spec)
我的估算器是预构建的估算器。
有人可以给我一些指导(具体的代码示例和代码指针会非常有帮助,因为我对 tensorflow 很陌生)推荐的分析估算器的方法是什么?这两种方法是否获得了一些不同的信息或服务于相同的目的?还有一个比另一个推荐吗?
【问题讨论】:
标签: tensorflow tensorflow-serving tensorflow-datasets tensorflow-estimator