The imagenet_distributed_train script is not compatible with the latest tensorflow (1.0.0)
TensorFlow 1.0 last, CUDA 8, bazel 0.4.4
The imagenet_distributed_train script is not compatible with the latest tensorflow (1.0.0). When you try to run it as in tutorial it fails with the following error message:
Traceback (most recent call last):
File "/root/models-update-models-1.0/inception/bazel-bin/inception/imagenet_distributed_train.runfiles/inception/inception/imagenet_distributed_train.py", line 65, in
How to solve it?
In file inception_distributed_train.py if the following line is commented out it seems to work.
200 replica_id=FLAGS.task_id,
200 #replica_id=FLAGS.task_id,
Glad you find it... replica_id is only used in the old sync_rep optimizers so it is safe to remove it for the new one. Can you send over the PR to change that please? Thanks.