Last active
June 2, 2021 22:41
-
-
Save eileen-code4fun/8181e35cd36edc1e5827a5d7337c8ef6 to your computer and use it in GitHub Desktop.
CIFAR10 PL Launch
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.v2 import compiler | |
from google.cloud.aiplatform import AIPlatformClient | |
compiler.Compiler().compile(pipeline_func=e2e_tutorial_pipeline, package_path='e2e-tutorial-automl-pipeline.json') | |
api_client = AIPlatformClient(project_id='PROJECT_ID', region='us-central1') | |
api_client.create_run_from_job_spec( | |
job_spec_path='e2e-tutorial-automl-pipeline.json' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment