Skip to content

Change dvc remote storage #19

Change dvc remote storage

Change dvc remote storage #19

Workflow file for this run

name: train-my-model
on: [push]
jobs:
run:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: iterative/setup-cml@v1
- name: Train model
run: |
pip install -r requirements.txt # install dependencies
python cnn_mnist/train_cml.py # run training
- name: Write report
env:
# this authenticates that the right permissions are in place
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# send all information to report.md that will be reported to us when the workflow finish
cat classification_report.txt >> report.md
cml-publish confusion_matrix.png --md >> report.md
cml-send-comment report.md