python - 如何使用 Tensorflow 的 Estimator API 进行分布式训练?

标签 python tensorflow

documentation说:

You can run Estimators-based models on a local host or on a distributed multi-server environment without changing your model. Furthermore, you can run Estimators-based models on CPUs, GPUs, or TPUs without recoding your model.

是否有文档解释如何在分布式多服务器环境中运行 Estimator?

最佳答案

tf.estimator.train_and_evaluate 的 Tensorflow 文档 here解释了一种在分布式环境中运行 tf.estimator 的方法,它只需要适本地设置 TF_CONFIG 环境变量。

关于python - 如何使用 Tensorflow 的 Estimator API 进行分布式训练?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47580287/

相关文章:

python - 在 python 中-如何将多个 HTML 源代码保存到一个文本文件中

jquery - Django 和 Ajax 管理

python - _tkinter.tclerror : bad option set tcl value number must be activate, 获取、配置

python - 将张量从形状 (n, h, w, c) reshape 为 (n, h * w, c)

tensorflow - TF 数据 API : how to efficiently sample small patches from images

python - Tensorflow "Hello World"示例在 PyCharm 中不起作用

python - 在 opencv - numpy - python 中转换颜色时失去抗锯齿

python - 为什么不将 if __name__ == '__main__' 放在模块的开头?

python-3.x - 为什么导入 "from tensorflow.train import Feature"不起作用

python - Pytorch 运行时错误 : size mismatch, m1 : [1 x 7744], m2:[400 x 120]