Thank you @ptrblck. I figured out the issue. Apparently the .tar files in the train and val folders were being read /tried to be read by the official PyTorch script. Taking out the .tar files from the train and val folders solved the issue!
Posting it in case someone else might face similar issues!