crnn.pytorch icon indicating copy to clipboard operation
crnn.pytorch copied to clipboard

errors about training your own model

Open FortuneSeeker opened this issue 4 years ago • 2 comments

I run into these errors while training the network with my own dataset(converted by the create_dataset.py in the project): image image image python 3.7 Have anyone met this problem? I don't know what caused it. Thank you in advance for your answer.

FortuneSeeker avatar May 28 '20 15:05 FortuneSeeker

And this, image

FortuneSeeker avatar May 28 '20 15:05 FortuneSeeker

While creating the lmdb dataset, script loads the image file as binary so change the with open('image/path/file.png', 'r') to with open('image/path/file.png', 'rb') this will read the file as bytes instead of string.

imneonizer avatar Jan 25 '21 03:01 imneonizer