mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Update cml.yml
This commit is contained in:
parent
725dd0f000
commit
5dc6e2bf8d
1 changed files with 6 additions and 5 deletions
11
.github/workflows/cml.yml
vendored
11
.github/workflows/cml.yml
vendored
|
|
@ -9,10 +9,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build docker compose stack
|
# TODO: use dvc to pull data, mkdir s3-mock, load data, then use docker compose
|
||||||
run: |
|
# - name: Build docker compose stack
|
||||||
cd model_data/simulation_system
|
# run: |
|
||||||
docker-compose up
|
# cd model_data/simulation_system
|
||||||
|
# docker-compose up -d
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
- uses: iterative/setup-cml@v1
|
- uses: iterative/setup-cml@v1
|
||||||
- name: Train model
|
- name: Train model
|
||||||
|
|
@ -20,7 +21,7 @@ jobs:
|
||||||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
# cd model_data/simulation_system
|
cd model_data/simulation_system
|
||||||
pip install -r requirements/training/training.txt
|
pip install -r requirements/training/training.txt
|
||||||
python3 training.py --train-filepath ./model_build_data/change_data/rdsap_full/train_validation_data.parquet --test-filepath ./model_build_data/change_data/rdsap_full/test_data.parquet
|
python3 training.py --train-filepath ./model_build_data/change_data/rdsap_full/train_validation_data.parquet --test-filepath ./model_build_data/change_data/rdsap_full/test_data.parquet
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue