Skip to content
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

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

Open
junewgl opened this issue Mar 11, 2021 · 2 comments
Open

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

junewgl opened this issue Mar 11, 2021 · 2 comments

Comments

@junewgl
Copy link

junewgl commented Mar 11, 2021

buf.write(imgbuf);这行代码提示类型错误,网上查找资料后依然没解决

@junewgl
Copy link
Author

junewgl commented Mar 11, 2021

这个错误是在运行 crnn_main.py时出现的。主要问题代码是在dataset.py里面。

@youchangxin
Copy link

cv2读取图片出错,检查下文件路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants