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

测试过程中报错,python版本需要多少? #1

Open
jayli517 opened this issue Mar 16, 2021 · 0 comments
Open

测试过程中报错,python版本需要多少? #1

jayli517 opened this issue Mar 16, 2021 · 0 comments

Comments

@jayli517
Copy link

0%| | 0/11 [00:14<?, ?it/s]
Traceback (most recent call last):
File "C:/develop_jay/BatchChineseOcr/run.py", line 89, in
main()
File "C:/develop_jay/BatchChineseOcr/run.py", line 85, in main
result = ocr.job(test_path)
File "C:/develop_jay/BatchChineseOcr/run.py", line 58, in job
for batch_partImg in temp_partImg_loader:
File "C:\develop_jay\BatchChineseOcr\ocr.py", line 146, in getitem
img = img.convert('L')
AttributeError: 'list' object has no attribute 'convert'

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

1 participant