Inner loop #75
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: GNS Train and Test | |
on: | |
push: | |
jobs: | |
gns: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/geoelements/gns:dataloader | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Black linter | |
run: | | |
black --check . | |
- name: PyTest | |
run: | | |
pytest test/ | |
- name: Train GNS | |
run: | | |
TMP_DIR="../gns-sample" | |
DATASET_NAME="WaterDropSample" | |
git clone https://github.com/geoelements/gns-sample ../gns-sample | |
python -m gns.train mode="train" training.steps=10 |