Every time I run train.py with my dataset, I get this error.
Loading dataset...
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Program Files\Python36\lib\site-packages\numpy\lib\npyio.py", line 447, in load
return pickle.load(fid, **pickle_kwargs)
EOFError: Ran out of input
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 293, in
main()
File "train.py", line 173, in main
chunks = load_dataset(enc, args.dataset, args.combine)
File "C:\Users\pc\Documents.Random Programming\Ai Test\GPT-2\gpt-2-finetuning\src\load_dataset.py", line 27, in load_dataset
with np.load(path) as npz:
File "C:\Program Files\Python36\lib\site-packages\numpy\lib\npyio.py", line 450, in load
"Failed to interpret file %s as a pickle" % repr(file))
OSError: Failed to interpret file 'lyric.npz' as a pickle
Every time I run train.py with my dataset, I get this error.
Loading dataset... 0%| | 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "C:\Program Files\Python36\lib\site-packages\numpy\lib\npyio.py", line 447, in load return pickle.load(fid, **pickle_kwargs) EOFError: Ran out of input
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "train.py", line 293, in
main()
File "train.py", line 173, in main
chunks = load_dataset(enc, args.dataset, args.combine)
File "C:\Users\pc\Documents.Random Programming\Ai Test\GPT-2\gpt-2-finetuning\src\load_dataset.py", line 27, in load_dataset
with np.load(path) as npz:
File "C:\Program Files\Python36\lib\site-packages\numpy\lib\npyio.py", line 450, in load
"Failed to interpret file %s as a pickle" % repr(file))
OSError: Failed to interpret file 'lyric.npz' as a pickle
Any solutions? What am I doing wrong?