Holmeyoung / crnn-pytorch

Pytorch implementation of CRNN (CNN + RNN + CTCLoss) for all language OCR.
MIT License
378 stars 105 forks source link

Training Problems #68

Closed zhengyussss closed 3 years ago

zhengyussss commented 3 years ago

when i train by my own data , i meet this problem, i don't know how can i solve this problem,the problem as fellows:

/dataset.py", line 97, in getitem buf.write(imgbuf) TypeError: a bytes-like object is required, not 'NoneType'

zhengyussss commented 3 years ago

i have fix this problem

lcko1012 commented 3 years ago

same problem, can you tell me how to fix it :(