Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix on samples/tfx-oss/README.md #969

Merged
merged 5 commits into from
Apr 26, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions samples/tfx-oss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ conda create -n tfx-kfp pip python=3.5.3
then activate the environment.


Install TFX and Kubeflow Pipelines SDK
Install TensorFlow, TFX and Kubeflow Pipelines SDK
```
!pip3 install https://storage.googleapis.com/ml-pipeline/tfx/tfx-0.12.0rc0-py2.py3-none-any.whl
!pip3 install https://storage.googleapis.com/ml-pipeline/release/0.1.10/kfp.tar.gz --upgrade
pip install tensorflow --upgrade
pip install https://storage.googleapis.com/ml-pipeline/tfx/tfx-0.12.0rc0-py2.py3-none-any.whl
pip install https://storage.googleapis.com/ml-pipeline/release/0.1.10/kfp.tar.gz --upgrade
```

Clone TFX github repo
Expand All @@ -44,7 +45,7 @@ gfile.Copy('tfx/examples/chicago_taxi_pipeline/taxi_utils.py', 'gs://<my bucket>

Modify the pipeline configuration file at
```
tfx/examples/chicago_taxi_pipeline/taxi_pipeline_kubeflow_large.py
tfx/examples/chicago_taxi_pipeline/taxi_pipeline_kubeflow.py
```
Configure
- Set `_input_bucket` to the GCS directory where you've copied taxi_utils.py. I.e. gs://<my bucket>/<path>/
Expand All @@ -54,7 +55,7 @@ Configure

## Compile and run the pipeline
```
python tfx/examples/chicago_taxi_pipeline/taxi_pipeline_kubeflow_large.py
python tfx/examples/chicago_taxi_pipeline/taxi_pipeline_kubeflow.py
```
This will generate a file named chicago_taxi_pipeline_kubeflow_large.tar.gz
This will generate a file named chicago_taxi_pipeline_kubeflow.tar.gz
Upload this file to the Pipelines Cluster and crate a run.