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

实体识别报错:free(): invalid next size (fast) Aborted (core dumped) #685

Open
sunM123 opened this issue Dec 26, 2023 · 0 comments
Open

Comments

@sunM123
Copy link

sunM123 commented Dec 26, 2023

使用ltp进行实体识别时,有的case会报错:

free(): invalid next size (fast)

Aborted (core dumped)

使用方式如下:

output = ltp_model.pipeline([sentences], tasks=["cws", "ner"])

res = output.ner

使用的包版本如下:

ltp 4.2.13

ltp-core 0.1.4

ltp-extension 0.1.11

具体错误位置:使用faulthandler,定位最初错误位置在
image

指的一提的是,有的时候是可以成功的,有的时候会报错,是需要扩大内存吗?

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