CRAFT-Remade icon indicating copy to clipboard operation
CRAFT-Remade copied to clipboard

Loading cache.pkl while debugging

Open malodhi opened this issue 3 years ago • 1 comments

In the class DataLoaderSYNTH in the file train_synth/dataloader.py the code is dumping and then loading the cache.pkl in case of debugging. Thought the cache.pkl is being dumped but it can't be reloaded. Error appears: ran out of input Code: self.imnames, self.charBB, self.txt = pickle.load(f)

Any idea how to resolve this issue.

malodhi avatar Feb 16 '22 08:02 malodhi

Hello @malodhi .

Could you check this stack overflow link?

https://stackoverflow.com/questions/24791987/why-do-i-get-pickle-eoferror-ran-out-of-input-reading-an-empty-file

mayank-git-hub avatar Feb 17 '22 01:02 mayank-git-hub