Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fregly committed Jan 24, 2018
1 parent fafcbe4 commit 2ab7fd4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/quickstart/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
* (Windows Only) [PowerShell](https://github.com/PowerShell/PowerShell/tree/master/docs/installation)

## Install PipelineAI CLI
``` f
pip install cli-pipeline==1.5.43 --ignore-installed --no-cache -U
```
Notes:
* This command line interface requires **Python 2 or 3** and **Docker** as detailed above in the Pre-Requisites section.
* You may need to specify `--user` if you have issues.
* If you're having trouble, see our [Troubleshooting](/docs/troubleshooting) Guide.
``` f
pip install cli-pipeline==1.5.35 --ignore-installed --no-cache -U
```

### Verify Successful PipelineAI CLI Installation
```
Expand Down Expand Up @@ -308,7 +309,7 @@ Notes:
## Perform Prediction
_Before proceeding, make sure you hit `Ctrl-C` after viewing the logs in the previous step._
```
pipeline predict-server-test --model-endpoint-url=http://localhost:8080 --test-request-path=./tensorflow/mnist-0.025/input/predict/test_request.json
pipeline predict-server-test --endpoint-url=http://localhost:8080 --test-request-path=./tensorflow/mnist-0.025/input/predict/test_request.json
### EXPECTED OUTPUT ###
...
Expand Down Expand Up @@ -341,7 +342,7 @@ Notes:

## Perform 100 Predictions in Parallel (Mini Load Test)
```
pipeline predict-server-test --model-endpoint-url=http://localhost:8080 --test-request-path=./tensorflow/mnist-0.025/input/predict/test_request.json --test-request-concurrency=100
pipeline predict-server-test --endpoint-url=http://localhost:8080 --test-request-path=./tensorflow/mnist-0.025/input/predict/test_request.json --test-request-concurrency=100
```
Notes:
* Instead of `localhost`, you may need to use `192.168.99.100` or another IP/Host that maps to your local Docker host. This usually happens when using Docker Quick Terminal on Windows 7.
Expand Down Expand Up @@ -447,7 +448,7 @@ pipeline predict-server-start --model-name=linear --model-tag=a

## Predict with the Model
```
pipeline predict-server-test --model-endpoint-url=http://localhost:8080/invocations --test-request-path=./scikit/linear/input/predict/test_request.json
pipeline predict-server-test --endpoint-url=http://localhost:8080/invocations --test-request-path=./scikit/linear/input/predict/test_request.json
### EXPECTED OUTPUT ###
Expand Down

0 comments on commit 2ab7fd4

Please sign in to comment.