Change dvc remote storage #19
This file contains 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
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 |