Commit 51d99c66 authored by Marianne Linhares Monteiro's avatar Marianne Linhares Monteiro Committed by GitHub
Browse files

Adding another example for is_cpu_ps=False

parent a5f64716
...@@ -33,7 +33,7 @@ $ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches- ...@@ -33,7 +33,7 @@ $ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches-
--num_gpus=0 \ --num_gpus=0 \
--train_steps=1000 --train_steps=1000
# Run the model on CPU and 2 GPUs. After training, it runs the evaluation. # Run the model on 2 GPUs using CPU as parameter server. After training, it runs the evaluation.
$ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches-bin \ $ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches-bin \
--model_dir=/tmp/cifar10 \ --model_dir=/tmp/cifar10 \
--is_cpu_ps=True \ --is_cpu_ps=True \
...@@ -41,5 +41,13 @@ $ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches- ...@@ -41,5 +41,13 @@ $ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches-
--num_gpus=2 \ --num_gpus=2 \
--train_steps=1000 --train_steps=1000
# Run the model on 2 GPUs usinc GPU as parameter server. After training, it runs the evaluation.
$ python cifar10_main.py --data_dir=/prefix/to/downloaded/data/cifar-10-batches-bin \
--model_dir=/tmp/cifar10 \
--is_cpu_ps=False \
--force_gpu_compatible=True \
--num_gpus=2 \
--train_steps=1000
# There are more command line flags to play with; check cifar10_main.py for details. # There are more command line flags to play with; check cifar10_main.py for details.
``` ```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment