Document reference Stage 4 weights #19
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: Run smoke tests | |
| run: | | |
| python -m compileall snn_structural_evolution train.py core.py scripts/make_figures.py examples | |
| python -m unittest discover tests | |
| - name: Run training dry-run | |
| run: | | |
| python train.py --stage 4 --epochs 1 --dry-run --data-dir ./data | |
| - name: Run stage comparison smoke test | |
| run: | | |
| python examples/compare_stages.py --epochs 1 --max-train-batches 1 --max-test-batches 1 --data-dir ./data |