Skip to content

update remote storage #4

update remote storage

update remote storage #4

Workflow file for this run

name: train-my-model
on: [push]
jobs:
run:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
- name: Train model
run: |
pip install -r requirements.txt # install dependencies
pip install .
python classifier/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 reports/classification_report.txt >> report.md
cml-publish reports/confusion_matrix.png --md >> report.md
cml-send-comment report.md