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
2 changes: 1 addition & 1 deletion speechbrain/lobes/augment.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def _prepare_csv(folder, filelist, csv_file, max_length=None):
"""
try:
# make sure all processing reached here before main preocess create csv_file
sb.distributed.ddp_barrier()
sb.utils.distributed.ddp_barrier()
if sb.utils.distributed.if_main_process():
with open(csv_file, "w") as w:
w.write("ID,duration,wav,wav_format,wav_opts\n\n")
Expand Down
2 changes: 1 addition & 1 deletion speechbrain/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def download_file(
"""
try:
# make sure all processing reached here before main preocess create dest_dir
sb.distributed.ddp_barrier()
sb.utils.distributed.ddp_barrier()
if sb.utils.distributed.if_main_process():

class DownloadProgressBar(tqdm.tqdm):
Expand Down