PyTorch DataLoader num_workers - Deep Learning Speed Limit ...
deeplizard.com › learn › videoTo speed up the training process, we will make use of the num_workers optional attribute of the DataLoader class. The num_workers attribute tells the data loader instance how many sub-processes to use for data loading. By default, the num_workers value is set to zero, and a value of zero tells the loader to load the data inside the main process. This means that the training process will work sequentially inside the main process.