quick fixes before minor by anautsch · Pull Request #1896 · speechbrain/speechbrain · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions README.md
4 changes: 2 additions & 2 deletions recipes/VoxLingua107/lang_id/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ def on_stage_end(self, stage, stage_loss, epoch=None):
def dataio_prep_shards(hparams):

# load the meta info json file
with wds.gopen.gopen(hparams["train_meta"], "rb") as f:
with wds.gopen(hparams["train_meta"], "rb") as f:
train_meta = json.load(f)
with wds.gopen.gopen(hparams["val_meta"], "rb") as f:
with wds.gopen(hparams["val_meta"], "rb") as f:
val_meta = json.load(f)

# define the mapping functions in the data pipeline
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ pre-commit>=2.3.0
scipy>=1.4.1, <1.9
sentencepiece>=0.1.91
SoundFile; sys_platform == 'win32'
torch>=1.9.0
torchaudio>=0.9.0
torch>=1.9.0,<2.0
torchaudio>=0.9.0,<2.0
tqdm>=4.42.0
46 changes: 32 additions & 14 deletions speechbrain/utils/checkpoints.py