I have not observed the error with num_workers=0. However, the error doesn’t always appear when running with num_workers=4 either. My guess is it is due to the dataloader shuffling the objects being loaded and one specific combination of objects not working together. Is this a possibility?
Also, are you referring to an exit call by the dataloader workers? And what is the unlike error?