Skip to content

Commit

Permalink
fix guide typo (kubeflow#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
lluunn authored and jlewi committed Jan 25, 2018
1 parent 7bb642c commit 8aaa393
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/k8s-model-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ $MODEL_NAME LoadBalancer <INTERNAL IP> <SERVICE IP> <SERVICE PORT>:<NOD
We will feed the `<SERVICE IP>` and `<SERVICE PORT>` to the labelling script. We will use it to label the following image of a
cat sleeping on a comforter atop a sofa:

![Cat on comforter on sofa](./inception-client/sleeping-pepper.jpg)
![Cat on comforter on sofa](./inception-client/images/sleeping-pepper.jpg)

You can also use to to label your own images.

Expand All @@ -204,7 +204,7 @@ pip install -r requirements.txt
Run the script as follows:

```commandline
python label.py -s <SERVICE IP> -p <SERVICE PORT> sleeping-pepper.jpg
python label.py -s <SERVICE IP> -p <SERVICE PORT> images/sleeping-pepper.jpg
```

#### Run in Docker container with publicly exposed service
Expand Down
4 changes: 2 additions & 2 deletions user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Create a component for your model
```
MODEL_COMPONENT=serveInception
MODEL_NAME=inception
MODEL_PATH=gs://cloud-ml-dev_jlewi/tmp/inception
MODEL_PATH=gs://kubeflow-models/inception
ks generate tf-serving ${MODEL_COMPONENT} --name=${MODEL_NAME} --namespace=${NAMESPACE} --model_path=${MODEL_PATH}
```

Expand All @@ -170,7 +170,7 @@ ks apply ${KF_ENV} -c ${MODEL_COMPONENT}
As before, a few pods and services have been created in your cluster. You can get the inception serving endpoint by querying kubernetes:

```
kubectl get svc inception
kubectl get svc inception -n=${NAMESPACE}
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
inception LoadBalancer 10.35.255.136 ww.xx.yy.zz 9000:30936/TCP 28m
```
Expand Down

0 comments on commit 8aaa393

Please sign in to comment.