EOFError: Ran out of input when enumerating the Train Loader

I think the cause of the problem is this line
entry = pickle.load(fo,encoding='latin1')