TensorFlow分布式训练MNIST分类器

  • 内容
  • 评论
  • 相关

本节以分布式方式训练完整的 MNIST 分类器。

该案例受到下面博客文章的启发:http://ischlag.github.io/2016/06/12/async-distributed-tensorflow/,运行在 TensorFlow 1.2 上的代码可以在网址https://github.com/ischlag/distributed-tensorflow-example上找到。

注意,这个案例基于上一节,所以按顺序阅读可能会很方便。

具体做法

  1. 导入一些标准模块并定义运行计算的 TensorFlow 集群,然后为指定任务启动服务:



     

本文标题:TensorFlow分布式训练MNIST分类器

本文地址:http://www.hosteonscn.com/4312.html

评论

0条评论

发表评论

邮箱地址不会被公开。 必填项已用*标注