You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah! Thank you @rohanchabra! Indeed it would be a significant improvement. I'll try to add these features later next week after implementing the rest of our planned "To do" list!
Good idea, we'll add it.
Optimal number of threads in dataloader depends on hardware and use of multi-threading reduce predictability, so, num_workers should be set as an optional parameter.
I think it will be good to use nn.DataParallel
self.model = nn.DataParallel(self.model)
Maybe also add multi-threading in dataloader in your utils.py (This can decrease training time by 4 times atleast)
loader = DataLoader(dataset, batch_size= batch_size,
shuffle=True, num_workers= 4)
The text was updated successfully, but these errors were encountered: