make num_workers mandatory config field

This commit is contained in:
Eren Gölge
2021-05-11 11:29:18 +02:00
parent df1ddd3539
commit 10de40bba1
+2 -2
View File
@@ -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