Ah, yeah, there is an issue with dataloader workers can sometime be signaled or errors but the main process just hangs. Try running with num_workers = 0 to get a proper debug trace. This is (sort of) fixed in https://github.com/pytorch/pytorch/pull/3474 456 if you are interested.