Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ The notebook will upload our sample data to GCS bucket so that we can use it in
our pipeline later.

```python
!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv
!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv
```

The notebook then uses the `tfx pipeline create` command to create the pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@
},
"outputs": [],
"source": [
"!gsutil cp {_trainer_module_file} {MODULE_ROOT}/"
"!gcloud storage cp {_trainer_module_file} {MODULE_ROOT}/"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion site/en-snapshot/tfx/tutorials/tfx/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
},
"source": [
"You might notice that there are some files with `_test.py` in their name. These are unit tests of the pipeline and it is recommended to add more unit tests as you implement your own pipelines.\n",
"\n",
"You can run unit tests by supplying the module name of test files with `-m` flag. You can usually get a module name by deleting `.py` extension and replacing `/` with `.`. For example:"
]
},
Expand Down Expand Up @@ -376,7 +377,7 @@
},
"outputs": [],
"source": [
"!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
"!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion site/es-419/tfx/tutorials/tfx/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
},
"outputs": [],
"source": [
"!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
"!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion site/ja/tfx/tutorials/tfx/gcp/vertex_pipelines_bq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
},
"outputs": [],
"source": [
"!gsutil cp {_trainer_module_file} {MODULE_ROOT}/"
"!gcloud storage cp {_trainer_module_file} {MODULE_ROOT}/"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion site/ko/tfx/tutorials/tfx/gcp/vertex_pipelines_bq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
},
"outputs": [],
"source": [
"!gsutil cp {_trainer_module_file} {MODULE_ROOT}/"
"!gcloud storage cp {_trainer_module_file} {MODULE_ROOT}/"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion site/ko/tfx/tutorials/tfx/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
},
"outputs": [],
"source": [
"!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
"!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion site/pt-br/tfx/tutorials/tfx/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
},
"outputs": [],
"source": [
"!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
"!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ PROJECT_DIR=os.path.join(os.path.expanduser("~"),"imported",PIPELINE_NAME)
笔记本会将样本数据上传到 GCS 存储分区,以便可以稍后在流水线中使用。

```python
!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv
!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv
```

之后,笔记本会使用 `tfx pipeline create` 命令创建流水线。
Expand Down
2 changes: 1 addition & 1 deletion site/zh-cn/tfx/tutorials/tfx/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
},
"outputs": [],
"source": [
"!gsutil cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
"!gcloud storage cp data/data.csv gs://{GOOGLE_CLOUD_PROJECT}-kubeflowpipelines-default/tfx-template/data/taxi/data.csv"
]
},
{
Expand Down
Loading