diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-06-26 14:00:17 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-06-26 14:04:35 -0700 |
commit | 1fa73c53ab95693f070ce70e6be0c644d83c163a (patch) | |
tree | ffbedf825daf1f3453c695a433c8a9cdf93f6019 /tensorflow/tools/dist_test | |
parent | b13e96e21c1229a905a623111dd89d2bd0cba53b (diff) |
Automated g4 rollback of changelist 160182040
PiperOrigin-RevId: 160190881
Diffstat (limited to 'tensorflow/tools/dist_test')
-rwxr-xr-x | tensorflow/tools/dist_test/local_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/tools/dist_test/local_test.sh b/tensorflow/tools/dist_test/local_test.sh index 7d7f92d246..f536beef54 100755 --- a/tensorflow/tools/dist_test/local_test.sh +++ b/tensorflow/tools/dist_test/local_test.sh @@ -70,7 +70,7 @@ get_container_id_by_image_name() { # Get the id of a container by image name # Usage: get_docker_container_id_by_image_name <img_name> - docker ps | grep $1 | awk '{print $1}' + echo $(docker ps | grep $1 | awk '{print $1}') } # Parse input arguments @@ -152,7 +152,7 @@ rm -rf "${BUILD_DIR}" docker run ${DOCKER_IMG_NAME} \ /var/tf_dist_test/scripts/dist_mnist_test.sh \ --ps_hosts $(seq -f "localhost:%g" -s "," \ - 2000 $((2000 + NUM_PARAMETER_SERVERS - 1))) \ + 2000 $((2000 + ${NUM_PARAMETER_SERVERS} - 1))) \ --worker_hosts $(seq -f "localhost:%g" -s "," \ - 3000 $((3000 + NUM_WORKERS - 1))) \ + 3000 $((3000 + ${NUM_WORKERS} - 1))) \ --num_gpus 0 ${SYNC_REPLICAS_FLAG} |