Skip to content

[Snyk] Security upgrade keras from 2.11.0 to 2.13.1rc0 #34

[Snyk] Security upgrade keras from 2.11.0 to 2.13.1rc0

[Snyk] Security upgrade keras from 2.11.0 to 2.13.1rc0 #34

name: Validate the HEAR baseline
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
# python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: apt-get
run: |
sudo apt-get install -y libsndfile-dev
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: python dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install hearbaseline
- name: Get model weights
run: |
wget https://github.com/neuralaudio/hear-baseline/raw/main/saved_models/naive_baseline.pt
- name: Validate the Torch version
run: |
hear-validator hearbaseline --model ./naive_baseline.pt