added nr_channels to dataloader and updated modelto work with any input size #143
Workflow file for this run
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: Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: mamba-org/setup-micromamba@v1 | |
| with: | |
| micromamba-version: '2.0.5-0' # any version from https://github.com/mamba-org/micromamba-releases | |
| environment-file: environment.yml | |
| init-shell: bash | |
| cache-environment: true | |
| post-cleanup: 'all' | |
| generate-run-shell: false | |
| - name: Run tests | |
| run: | | |
| PYTHONPATH=. pytest . | |
| shell: bash -el {0} |