Last active
November 21, 2019 07:37
-
-
Save joannapurosto/b892e894f73e62fd064005482b67a39f to your computer and use it in GitHub Desktop.
Airflow Valohai Operator for Valohai Blog
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 airflow.operators.valohai import ValohaiSubmitExecutionOperator | |
train = ValohaiSubmitExecutionOperator( | |
task_id='train_model', | |
# Specify the project and step from Valohai | |
project_name='tensorflow-example', | |
step='Train model (MNIST)', | |
# Associate a task to a previously created DAG | |
dag=dag, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment