autonise/CRAFT-Remade

Loading cache.pkl while debugging

Opened this issue · 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.