Are you processing multiple samples inside your Dataset's __getitem__ method?
If you are loading and processing single samples, I don’t think the error might be related to the shuffling, but that’s of course just a guess.
“unlike” was the autocorrected version of unlink.