donghyeonk/match-lstm

BrokenPipeError: [Errno 32] Broken pipe

LinkToPast1990 opened this issue · 1 comments

tr_loader, _, _ = snlidata.get_dataloaders(batch_size=32, num_workers=0, pin_memory=torch.cuda.is_available())

if I do not set the num_workers as 0, I will get this BrokenPipeError. Does anyone have an idea about it?

I set num_workers to 0 for testing but I didn't get the same error.

How about setting num_workers to 1?