diff options
author | Marvin Borner | 2023-07-02 14:20:24 +0200 |
---|---|---|
committer | Marvin Borner | 2023-07-02 14:20:24 +0200 |
commit | 053c6b8d3f29651a467ef41966483ba09be6a717 (patch) | |
tree | cbe5d6a8e05da2ccd0598276197965b1ed76470c /train.py |
Initial commit
Diffstat (limited to 'train.py')
-rw-r--r-- | train.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/train.py b/train.py new file mode 100644 index 0000000..ebeb4d4 --- /dev/null +++ b/train.py @@ -0,0 +1,11 @@ +#!/bin/env python3 + +import torchaudio + +# download the datasets +train_dataset = torchaudio.datasets.LIBRISPEECH( + "./data", url="train-clean-100", download=True +) +test_dataset = torchaudio.datasets.LIBRISPEECH( + "./data", url="test-clean", download=True +) |