21
21
def dataflow_tf_data_validation_op (inference_data : 'GcsUri' , validation_data : 'GcsUri' , column_names : 'GcsUri[text/json]' , key_columns , project : 'GcpProject' , mode , validation_output : 'GcsUri[Directory]' , step_name = 'validation' ):
22
22
return dsl .ContainerOp (
23
23
name = step_name ,
24
- image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tfdv:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
24
+ image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tfdv:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
25
25
arguments = [
26
26
'--csv-data-for-inference' , inference_data ,
27
27
'--csv-data-to-validate' , validation_data ,
@@ -40,7 +40,7 @@ def dataflow_tf_data_validation_op(inference_data: 'GcsUri', validation_data: 'G
40
40
def dataflow_tf_transform_op (train_data : 'GcsUri' , evaluation_data : 'GcsUri' , schema : 'GcsUri[text/json]' , project : 'GcpProject' , preprocess_mode , preprocess_module : 'GcsUri[text/code/python]' , transform_output : 'GcsUri[Directory]' , step_name = 'preprocess' ):
41
41
return dsl .ContainerOp (
42
42
name = step_name ,
43
- image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tft:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
43
+ image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tft:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
44
44
arguments = [
45
45
'--train' , train_data ,
46
46
'--eval' , evaluation_data ,
@@ -57,7 +57,7 @@ def dataflow_tf_transform_op(train_data: 'GcsUri', evaluation_data: 'GcsUri', sc
57
57
def tf_train_op (transformed_data_dir , schema : 'GcsUri[text/json]' , learning_rate : float , hidden_layer_size : int , steps : int , target : str , preprocess_module : 'GcsUri[text/code/python]' , training_output : 'GcsUri[Directory]' , step_name = 'training' ):
58
58
return dsl .ContainerOp (
59
59
name = step_name ,
60
- image = 'gcr.io/ml-pipeline/ml-pipeline-kubeflow-tf-trainer:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
60
+ image = 'gcr.io/ml-pipeline/ml-pipeline-kubeflow-tf-trainer:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
61
61
arguments = [
62
62
'--transformed-data-dir' , transformed_data_dir ,
63
63
'--schema' , schema ,
@@ -74,7 +74,7 @@ def tf_train_op(transformed_data_dir, schema: 'GcsUri[text/json]', learning_rate
74
74
def dataflow_tf_model_analyze_op (model : 'TensorFlow model' , evaluation_data : 'GcsUri' , schema : 'GcsUri[text/json]' , project : 'GcpProject' , analyze_mode , analyze_slice_column , analysis_output : 'GcsUri' , step_name = 'analysis' ):
75
75
return dsl .ContainerOp (
76
76
name = step_name ,
77
- image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tfma:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
77
+ image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tfma:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
78
78
arguments = [
79
79
'--model' , model ,
80
80
'--eval' , evaluation_data ,
@@ -91,7 +91,7 @@ def dataflow_tf_model_analyze_op(model: 'TensorFlow model', evaluation_data: 'Gc
91
91
def dataflow_tf_predict_op (evaluation_data : 'GcsUri' , schema : 'GcsUri[text/json]' , target : str , model : 'TensorFlow model' , predict_mode , project : 'GcpProject' , prediction_output : 'GcsUri' , step_name = 'prediction' ):
92
92
return dsl .ContainerOp (
93
93
name = step_name ,
94
- image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tf-predict:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
94
+ image = 'gcr.io/ml-pipeline/ml-pipeline-dataflow-tf-predict:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
95
95
arguments = [
96
96
'--data' , evaluation_data ,
97
97
'--schema' , schema ,
@@ -108,7 +108,7 @@ def dataflow_tf_predict_op(evaluation_data: 'GcsUri', schema: 'GcsUri[text/json]
108
108
def confusion_matrix_op (predictions : 'GcsUri' , output : 'GcsUri' , step_name = 'confusion_matrix' ):
109
109
return dsl .ContainerOp (
110
110
name = step_name ,
111
- image = 'gcr.io/ml-pipeline/ml-pipeline-local-confusion-matrix:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
111
+ image = 'gcr.io/ml-pipeline/ml-pipeline-local-confusion-matrix:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
112
112
arguments = [
113
113
'--output' , '%s/{{workflow.name}}/confusionmatrix' % output ,
114
114
'--predictions' , predictions ,
@@ -119,7 +119,7 @@ def confusion_matrix_op(predictions: 'GcsUri', output: 'GcsUri', step_name='conf
119
119
def roc_op (predictions : 'GcsUri' , output : 'GcsUri' , step_name = 'roc' ):
120
120
return dsl .ContainerOp (
121
121
name = step_name ,
122
- image = 'gcr.io/ml-pipeline/ml-pipeline-local-roc:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
122
+ image = 'gcr.io/ml-pipeline/ml-pipeline-local-roc:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
123
123
arguments = [
124
124
'--output' , '%s/{{workflow.name}}/roc' % output ,
125
125
'--predictions' , predictions ,
@@ -130,7 +130,7 @@ def roc_op(predictions: 'GcsUri', output: 'GcsUri', step_name='roc'):
130
130
def kubeflow_deploy_op (model : 'TensorFlow model' , tf_server_name , step_name = 'deploy' ):
131
131
return dsl .ContainerOp (
132
132
name = step_name ,
133
- image = 'gcr.io/ml-pipeline/ml-pipeline-kubeflow-deployer:65d0f6a1a3b1a4c2254a4398cc6b92550803fe62 ' ,
133
+ image = 'gcr.io/ml-pipeline/ml-pipeline-kubeflow-deployer:d3c4add0a95e930c70a330466d0923827784eb9a ' ,
134
134
arguments = [
135
135
'--model-path' , model ,
136
136
'--server-name' , tf_server_name
0 commit comments