QAnything [BUG] y_axis = polygons[:, 0, 1] IndexError: too many indices for array: array is 1-dimensional, but 3 were indexed

mkshixfv  于 3个月前  发布在  Go
关注(0)|答案(3)|浏览(39)

是否已有关于该错误的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

QAnything/qanything_kernel/utils/loader/pdf_to_markdown/core/layout/table_rec/table_recover.py", line 33, in get_rows
y_axis = polygons[:, 0, 1]
IndexError: too many indices for array: array is 1-dimensional, but 3 were indexed

期望行为 | Expected Behavior

正确解析

运行环境 | Environment

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

QAnything日志 | QAnything logs

  • No response*

复现方法 | Steps To Reproduce

build knowledge pdf file

备注 | Anything else?

QAnything/qanything_kernel/utils/loader/pdf_to_markdown/core/layout/table_rec/table_recover.py", line 33, in get_rows
y_axis = polygons[:, 0, 1]
IndexError: too many indices for array: array is 1-dimensional, but 3 were indexed

cpjpxq1n

cpjpxq1n3#

在Macbook上出现同样的报错,必定会出现。

相关问题