Skip to content
Snippets Groups Projects
Commit d5602604 authored by Alain Riou's avatar Alain Riou
Browse files

torchaudio backend

parent 55185bbd
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y libsox
sudo apt-get install -y libsox-dev
python -m pip install --upgrade pip
python -m pip install torch torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install pytest
......
......@@ -9,8 +9,6 @@ import torchaudio
AUDIOS_DIR = os.path.join(os.path.dirname(__file__), "audios")
torchaudio.set_audio_backend("sox_io")
print(torchaudio.__version__, torchaudio.get_audio_backend())
@pytest.mark.parametrize("file, fmt, convert_to_freq",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment