【发布时间】:2017-01-16 21:30:11
【问题描述】:
我正在研究distributed inception model in TF 的代码,其中我有以下关于tf.train.Supervisor.start_queue_runners 在inception_distributed_train.py 中的使用的问题:
-
为什么我们需要在行内显式调用
sv.start_queue_runners()264并在inception_distributed_train.py 中加入269?在API doc. of start_queue_runners,我认为不需要这样 由于以下原因来电:请注意,在图键 QUEUE_RUNNERS 中收集的队列运行器 当您使用 主管,所以除非你有未收集的队列跑步者开始 你不需要显式调用它。
我注意到
queue_runners的值在调用sv.start_queue_runners在264和行中不同269在inception_distributed_train.py。但不是chief_queue_runners也在收藏中tf.GraphKeys.QUEUE_RUNNERS(所有QUEUE_RUNNERS都是在263行中获得的)?如果 所以,那么就不需要线269因为chief_queue_runners已经 已在264行开始。另外,能否请您向我解释一下或向我展示一些关于
tf.train.Supervisor中创建了哪些队列的参考资料?
感谢您的宝贵时间!
【问题讨论】:
标签: tensorflow distributed-computing