Update train_ms.py

This commit is contained in:
Stardust·减
2023-09-07 11:09:55 +08:00
committed by GitHub
parent 63ea12459d
commit 1069066390

View File

@@ -80,8 +80,7 @@ def run():
pin_memory=True,
collate_fn=collate_fn,
batch_sampler=train_sampler,
prefetch_factor=4,
) # 128G Memory suitable loader.
) # 0 worker
if rank == 0:
eval_dataset = TextAudioSpeakerLoader(hps.data.validation_files, hps.data)
eval_loader = DataLoader(