Last active
June 2, 2021 22:41
-
-
Save eileen-code4fun/e1f2a0e7207cba339ee658d08c571989 to your computer and use it in GitHub Desktop.
CIFAR10 PL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kfp import dsl | |
from google_cloud_pipeline_components import aiplatform | |
@dsl.pipeline( | |
name='e2e-tutorial-automl-pipeline', | |
description='A simple automl training', | |
pipeline_root='GCS_PATH_FOR_PIPELINE' | |
) | |
def e2e_tutorial_pipeline(): | |
job = aiplatform.AutoMLImageTrainingJobRunOp( | |
project='PROJECT_ID', | |
display_name='e2e-tutorial-automl-pipeline', | |
prediction_type='classification', | |
model_type='CLOUD', | |
dataset='DATASET_NAME', | |
model_display_name='e2e-tutorial-automl-pipeline-model', | |
budget_milli_node_hours=8000 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment