rishikksh20 / VocGAN

VocGAN: A High-Fidelity Real-time Vocoder with a Hierarchically-nested Adversarial Network
MIT License
319 stars 61 forks source link

:pencil: Add num_workers parameter from config to dataloader initialization #5

Closed Datasciensyash closed 4 years ago

Datasciensyash commented 4 years ago

Found that train.num_workers hyperparameter from config not used in train dataloader initialization.

It can cause errors while using Windows OS (As example, OSError: [WinError 6]), which not correctly supporting parallelization in pytorch, so it needs to num_workers=0 used.