make num_workers mandatory config field

pull/476/head
Eren Gölge 2021-05-10 15:10:39 +02:00
parent df1ddd3539
commit 10de40bba1
1 changed files with 2 additions and 2 deletions

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