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

请问出现list index out of range #668

Open
longfei796 opened this issue Dec 2, 2024 · 3 comments
Open

请问出现list index out of range #668

longfei796 opened this issue Dec 2, 2024 · 3 comments

Comments

@longfei796
Copy link

0e3c5a65489bfc120d9a78415a474cd
Traceback (most recent call last):
File "D:\0001翻译文件[001]\BallonsTranslator_dev_src_with_gitpython\ui\module_manager.py", line 381, in _imgtrans_pipeline
self.ocr.run_ocr(img, blk_list)
File "D:\0001翻译文件[001]\BallonsTranslator_dev_src_with_gitpython\modules\ocr\base.py", line 42, in run_ocr
self._ocr_blk_list(img, blk_list, *args, **kwargs)
File "D:\0001翻译文件[001]\BallonsTranslator_dev_src_with_gitpython\modules\ocr\ocr_mit.py", line 33, in _ocr_blk_list
return self.model(blk_list, regions, textblk_lst_indices, chunk_size=self.chunk_size)
File "D:\0001翻译文件[001]\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\0001翻译文件[001]\BallonsTranslator_dev_src_with_gitpython\modules\ocr\mit48px_ctc.py", line 440, in call
textblk = textblk_lst[textblk_lst_indices[i+chunck_idx]]
IndexError: list index out of range

@dmMaze
Copy link
Owner

dmMaze commented Dec 2, 2024

方便的话原图发我邮箱

@longfei796
Copy link
Author

方便的话原图发我邮箱

请问您什么原图

@dmMaze
Copy link
Owner

dmMaze commented Dec 3, 2024

方便的话原图发我邮箱

请问您什么原图

弹出报错的那张图

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