CommencerCommencer gratuitement

Run DVC pipeline in GitHub Actions

In this exercise, you will use CML GitHub Action to run a DVC pipeline and compare metrics between the training branch and main. The pipeline will trigger when you open a PR against the main branch.

The output from running train.py is a metrics.json file containing model metrics that will provide the source data for comparing metrics across branches.

Your task is to finish the scaffolded .github/workflows/dvc_cml.yaml to formulate a high-level model training flow. Scroll down to Line 24 to make changes.

Cet exercice fait partie du cours

CI/CD for Machine Learning

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice