If particular files fail, it may be some (bit) corruption not detected by pickle. Otherwise, try using non-zero timeout argument for DataLoader and make sure exceptions are not swallowed up (for example, with jupyter stderr is not printed in browser, I think). You may also check if this is multiprocessing related by disabling workers.