meijieru / crnn.pytorch

Convolutional recurrent network in pytorch
MIT License
2.4k stars 657 forks source link

TypeError: a bytes-like object is required, not 'NoneType' #225

Closed xiaomeng654321 closed 4 years ago

xiaomeng654321 commented 4 years ago

I can't find the reason why this error occurs? Help me resolve this. buf.write(imgbuf) TypeError: a bytes-like object is required, not 'NoneType'

GarhwalRifles commented 4 years ago

how did you resolve this

xiaomeng654321 commented 4 years ago

the real reason is that the https://github.com/meijieru/crnn.pytorch/issues/147, i can't deal with the #147 problem using python 3.6