-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
训练时Corrupted image errror,字节对象进lmdb,lmdb读出来的不一样,请高手帮解决,急。 #75
Comments
我之前也出现过这个错误,你的标签是数字还是中文 |
你的问题解决没,我的标签是数字 |
我也遇到这个问题我的标签是中文 |
您好,我的标签是中文对应的数字,但是也还是会出现上述情况,请问大佬是什么原因呢 |
请问解决了吗 |
请问解决了吗 我中英文的标签都试过了 |
我猜测你在读取图像时使用: |
Corrupted image for 1
Traceback (most recent call last):
File "/home/wdj/mycode3/Lets_OCR/recognizer/crnn/lib/dataset.py", line 132, in getitem
img = Image.open(buf).convert('L')
File "/root/anaconda3/envs/Pytorch_CRNN3/lib/python3.6/site-packages/PIL/Image.py", line 2821, in open
raise IOError("cannot identify image file %r" % (filename if filename else fp))
OSError: cannot identify image file <_io.BytesIO object at 0x7f6110132308>
The text was updated successfully, but these errors were encountered: