-
Notifications
You must be signed in to change notification settings - Fork 17
38 lines (34 loc) · 1.28 KB
/
task-speech_commands.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Task speech_commands
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
# 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: Display Python version
run: python -c "import sys; print(sys.version)"
- name: apt-get
run: |
sudo apt-get install -y libsndfile1-dev
- name: python dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/neuralaudio/hear-baseline.git
pip install -e "."
- name: wget
run: |
wget https://github.com/neuralaudio/hear2021-open-tasks-downsampled/raw/main/preprocessed/hear-2021.0.6-speech_commands-v0.0.2-small-44100.tar.gz
tar zxvf hear-2021.0.6-speech_commands-v0.0.2-small-44100.tar.gz
- name: Downstream
run: |
python -m heareval.embeddings.runner hearbaseline --tasks-dir hear-2021.0.6/tasks/
python -m heareval.predictions.runner embeddings/hearbaseline/speech_commands-v0.0.2-small/ --grid faster --grid-points 1