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

[BUG] pdf解析会丢失部分内容 #383

Open
2 tasks done
flyuuo9 opened this issue Jun 5, 2024 · 0 comments
Open
2 tasks done

[BUG] pdf解析会丢失部分内容 #383

flyuuo9 opened this issue Jun 5, 2024 · 0 comments

Comments

@flyuuo9
Copy link

flyuuo9 commented Jun 5, 2024

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

06.05更新的qanything-python分支,在mac本地运行

通过调试发现是layout recognize识别不到,在_concat_downward里的if not sec.get('layoutno')筛选掉了。

方向一:需要把threshold从0.4下调到0.01。
方向二:_concat_downward中对layoutno不做过滤

丢失的内容没有规律,很普通的文本,从遇到的现象看,文章尾部的一部分概率大一些,其次是表格里面的部分单元格,请问layoutno为空这种情况有人解决过吗?

期望行为 | Expected Behavior

内容完整

运行环境 | Environment

- OS:
- NVIDIA Driver:
- CUDA:
- docker:
- docker-compose:
- NVIDIA GPU:
- NVIDIA GPU Memory:

QAnything日志 | QAnything logs

No response

复现方法 | Steps To Reproduce

No response

备注 | Anything else?

No response

@flyuuo9 flyuuo9 changed the title [BUG] pdf会丢失部分内容 [BUG] pdf解析会丢失部分内容 Jun 5, 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

1 participant