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

导出表格标注报错 #113

Open
qaz147okm opened this issue Nov 21, 2024 · 0 comments
Open

导出表格标注报错 #113

qaz147okm opened this issue Nov 21, 2024 · 0 comments

Comments

@qaz147okm
Copy link

Image

Traceback (most recent call last):
File "D:\project\PPOCRLabel-main\PPOCRLabel.py", line 3220, in exportJSON
token_list = convert_token(html_list)
File "D:\project\PPOCRLabel-main\libs\utils.py", line 238, in convert_token
token_list.append(' colspan="{}"'.format(int(n)))
ValueError: invalid literal for int() with base 10: '3 rowspan=2'

GreatV pushed a commit that referenced this issue Nov 26, 2024
…rows and columns (#119)

* 1、解决导出表格标注时添加colspan和rowspan时的异常
2、解决导出的gt文件中gt属性中html标签合规的问题

* fix code style

* 修复单元格占多行又占多列导出报错的问题。issues:导出表格标注报错 #113
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