benchmarks
benchmarks copied to clipboard
Make sure only chief worker can add global_step
https://github.com/tensorflow/benchmarks/blob/2389369f6b5c9d3241676a728b450e47482966c0/scripts/tf_cnn_benchmarks/benchmark_cnn.py#L1579 why not change global_step update op for #199 ? Make sure only chief worker can add global_step like tf.train.SyncReplicasOptimizer
@alsrgv @reedwm
That does sound like a better approach, but I didn't write the global_step code so I'm not sure. @zheng-xq is there a reason not to have only the chief update global_step?