Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fregly authored Nov 20, 2017
1 parent 9dc18ca commit e7b41c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ Note the following:
* `--train-args` is a single argument passed into the `pipeline_train.py`. Therefore, you must escape spaces (`\ `) between arguments.
* `--input-path` and `--output-path` are relative to the current working directory (outside the Docker container) and will be mapped as internal directories inside the Docker container.
* `--train-files` and `--eval-files` are relative to `--input-path` inside the Docker container.
* Models, logs, and event are written to `--output-path` (or a subdirectory within). These will be outside the Docker container.
* To prevent overwriting the output of a previous run, you should update the `--output-path` between calls - or create a new unique subfolder in your `pipeline_train.py` (ie. timestamp). See examples below.
* Models, logs, and event are written to `--output-path` (or a subdirectory within). These will be available outside of the Docker container.
* To prevent overwriting the output of a previous run, you should update the `--output-path` between calls - or create a new unique subfolder with `--output-path` in your `pipeline_train.py` (ie. timestamp). See examples below.

(_We are working on making these more intuitive._)

```
pipeline train-server-start --model-runtime=tfserving --model-type=tensorflow --model-name=census --model-tag=v1 --input-path=./tensorflow/census/data/ --output-path=./tensorflow/census/versions --train-args="--train-files=./train/adult.data.csv\ --validate-files=./validate/adult.test.csv\ --num-epochs=2\ --learning-rate=0.025"
pipeline train-server-start --model-runtime=tfserving --model-type=tensorflow --model-name=census --model-tag=v1 --input-path=./tensorflow/census/data/ --output-path=./tensorflow/census/versions --train-args="--train-files=train/adult.data.csv\ --eval-files=eval/adult.test.csv\ --num-epochs=2\ --learning-rate=0.025"
```

_Note: If you see the error below, run `docker rm -f train-tfserving-tensorflow-census-v1` first._
Expand All @@ -217,7 +217,7 @@ pipeline train-server-shell --model-runtime=tfserving --model-type=tensorflow --

## View Training UI (including TensorBoard for TensorFlow Models)
```
http://localhost:6906
http://localhost:6007
```
![PipelineAI TensorBoard UI 0](http://pipeline.ai/assets/img/pipelineai-train-census-tensorboard-0.png)

Expand Down

0 comments on commit e7b41c1

Please sign in to comment.