From 10de40bba174a5d91d07abf21f218e094ab81e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 10 May 2021 15:10:39 +0200 Subject: [PATCH] make num_workers mandatory config field --- TTS/config/shared_configs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TTS/config/shared_configs.py b/TTS/config/shared_configs.py index 9bd18ff0..d9a4e06a 100644 --- a/TTS/config/shared_configs.py +++ b/TTS/config/shared_configs.py @@ -248,8 +248,8 @@ class BaseTrainingConfig(Coqpit): keep_all_best: bool = False keep_after: int = 10000 # dataloading - num_loader_workers: int = None - num_val_loader_workers: int = None + num_loader_workers: int = MISSING + num_val_loader_workers: int = 0 use_noise_augment: bool = False # paths output_path: str = None