KIE信息抽取max_seq_len大于512时被截断,后面的信息缺失 #12805
Unanswered
Alex37882388
asked this question in
Q&A
Replies: 1 comment
-
@first236108 你解决了吗? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
系统环境/System Environment:win11/ubuntu22.04
版本号/Version:Paddle:2.4.2 PaddleOCR:2.7.0.2
问题描述:当图片上的文字比较多,需要抽取的标签数量也多的情况下,信息超出512直接被截断了,如下图:


为了解决以上问题,查阅了源码和issue后手动修改VQASerTokenChunk.max_seq_len 从512改为1024,然后出现报错如下:
这个问题,官方有任何解决方法吗? 谢谢
Beta Was this translation helpful? Give feedback.
All reactions