Text-Summarization icon indicating copy to clipboard operation
Text-Summarization copied to clipboard

Unpickling Error

Open Savithasam opened this issue 7 years ago • 6 comments

Hi, I am trying to clone the repo and reproduce the results. I plugged in the finished_files directory as described. I am getting the following error when I run main.py. Can you please help? File "main.py", line 91, in opt.max_article_size, opt.max_abstract_size) File "Text-Summarization/dataloader.py", line 28, in init self.train_data = pickle.load(f) cPickle.UnpicklingError: invalid load key, '�'.

Savithasam avatar Jan 03 '18 19:01 Savithasam

This problem also occurred in my machine (linux ubuntu16). Any help? pickle's version problem? @hashbangCoder

chengzhou avatar Mar 04 '18 06:03 chengzhou

I tried different versions, but it didn't seem to help. Ended up downloading the CNN-DailyMail dataset and creating the pickle file myself.

Savithasam avatar Mar 28 '18 18:03 Savithasam

got the same error

SeekPoint avatar Apr 15 '18 13:04 SeekPoint

@Savithasam how did you make it?

SeekPoint avatar May 01 '18 08:05 SeekPoint

Same error here: I guess there hasn't been a solution for this? Tried on mac and linux with different python versions, but no success.

nyxjemk avatar Aug 22 '18 09:08 nyxjemk

Fixed the error by the following: https://github.com/JafferWilson/Process-Data-of-CNN-DailyMail/issues/2 @Savithasam @loveJasmine @nyxjemk @chengzhou Maybe you can try.

SMinL avatar Nov 19 '18 01:11 SMinL