commenting

This commit is contained in:
Bailey Hirota 2025-07-01 21:21:25 +09:00
parent 55d0664339
commit f6bae95ebd

View File

@ -206,6 +206,10 @@ class MultiDatasetAsrDataModule:
else:
logging.info("Disable MUSAN")
# Cut concatenation should be the first transform in the list,
# so that if we e.g. mix noise in, it will fill the gaps between
# different utterances.
if self.args.concatenate_cuts:
logging.info(
f"Using cut concatenation with duration factor "
@ -298,7 +302,7 @@ class MultiDatasetAsrDataModule:
batch_size=None,
num_workers=self.args.num_workers,
persistent_workers=True,
worker_init_fn=worker_init_fn, #changed bottom 2 params
worker_init_fn=worker_init_fn,
)
return train_dl