From a2689732122adc7abb923818b847d61a5fe43d87 Mon Sep 17 00:00:00 2001 From: Chris Fregly Date: Tue, 6 Nov 2018 19:49:44 -0800 Subject: [PATCH] Update README-training.md --- docs/quickstart/docker/README-training.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/quickstart/docker/README-training.md b/docs/quickstart/docker/README-training.md index 58359c1d0..8bfdf8e4e 100644 --- a/docs/quickstart/docker/README-training.md +++ b/docs/quickstart/docker/README-training.md @@ -63,7 +63,7 @@ Notes: ## Start Training Server ``` -pipeline train-server-start --memory-limit=2G --model-name=mnist --model-tag=v1tensorflow --input-host-path=./tensorflow/mnist-v1/model/ --output-host-path=./tensorflow/mnist-v1/model/ --training-runs-host-path=./tensorflow/mnist-v1/model/ --train-args="--train_epochs=2 --batch_size=100 --model_dir=. --data_dir=. --export_dir=./pipeline_tfserving/" +pipeline train-server-start --memory-limit=2G --model-name=mnist --model-tag=v1tensorflow --input-host-path=./tensorflow/mnist-v1/model/ --output-host-path=./tensorflow/mnist-v1/model/ --train-host-path=./tensorflow/mnist-v1/model/ --train-args="--train_epochs=2 --batch_size=100 --model_dir=. --data_dir=. --export_dir=./pipeline_tfserving/" ``` Notes: * You may need to clear the `--model_dir` before you start, otherwise the training job may not start @@ -138,7 +138,7 @@ Notes: ## Start Training Server ``` -pipeline train-server-start --model-name=mnist --model-tag=v1scikit --input-host-path=./scikit/mnist/model/ --output-host-path=./scikit/mnist/model/ --training-runs-host-path=./scikit/mnist/model/ --train-args="" --start-cmd-extra-args='--shm-size=512m' +pipeline train-server-start --model-name=mnist --model-tag=v1scikit --input-host-path=./scikit/mnist/model/ --output-host-path=./scikit/mnist/model/ --train-host-path=./scikit/mnist/model/ --train-args="" --start-cmd-extra-args='--shm-size=512m' ``` Notes: * Ignore the following warning: `WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.` @@ -201,7 +201,7 @@ Notes: ## Start Training Server * Install [PipelineAI CLI](../README.md#install-pipelinecli) ``` -pipeline train-server-start --model-name=mnist --model-tag=v1pytorch --input-host-path=./pytorch/mnist-v1/model/ --output-host-path=./pytorch/mnist-v1/model/ --training-runs-host-path=./pytorch/mnist-v1/model/ --train-args="" +pipeline train-server-start --model-name=mnist --model-tag=v1pytorch --input-host-path=./pytorch/mnist-v1/model/ --output-host-path=./pytorch/mnist-v1/model/ --train-host-path=./pytorch/mnist-v1/model/ --train-args="" ``` Notes: * Ignore the following warning: `WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.` @@ -264,7 +264,7 @@ Notes: ## Start Training Server * Install [PipelineAI CLI](../README.md#install-pipelinecli) ``` -pipeline train-server-start --model-name=mnist --model-tag=v1xgboost --input-host-path=./xgboost/mnist-v1/model/ --output-host-path=./xgboost/mnist-v1/model/ --training-runs-host-path=./xgboost/mnist-v1/model/ --train-args="" +pipeline train-server-start --model-name=mnist --model-tag=v1xgboost --input-host-path=./xgboost/mnist-v1/model/ --output-host-path=./xgboost/mnist-v1/model/ --train-host-path=./xgboost/mnist-v1/model/ --train-args="" ``` Notes: * Ignore the following warning: `WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.`