Data-Rejuvenation icon indicating copy to clipboard operation
Data-Rejuvenation copied to clipboard

_pickle.UnpicklingError: invalid load key, '\xe2'.

Open xiuzhilu opened this issue 2 years ago • 1 comments

Hi,dear. I download dataset wmt14 en-de, and when I run the script "sh sh_train.sh", I meeting the ERROR:Process 0 terminated with the following error: Traceback (most recent call last): File "/home/luxiuzhi/luxiuzhi/Data-Rejuvenation/fairseq/fairseq/distributed_utils.py", line 177, in all_gather_list result.append(pickle.loads(bytes(out_buffer[header_size:header_size + enc_size].tolist()))) _pickle.UnpicklingError: invalid load key, '\xe2'.

Exception: Unable to unpickle data from other workers. all_gather_list requires all workers to enter the function together, so this error usually indicates that the workers have fallen out of sync somehow. Workers can fall out of sync if one of them runs out of memory, or if there are other conditions in your training script that can cause one worker to finish an epoch while other workers are still iterating over their portions of the data.

can you help me check it pls

xiuzhilu avatar Sep 02 '21 10:09 xiuzhilu