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

下载了tlp_data运行text_grapher.py出现Segmentation fault (core dumped) #12

Open
luyifanlu opened this issue Aug 3, 2020 · 6 comments

Comments

@luyifanlu
Copy link

luyifanlu commented Aug 3, 2020

运行text_grapher.py文件其他函数没问题。例如
handler.rel_entity_keyword()
就是运行handler.mian()出错

@luyifanlu
Copy link
Author

Segmentation fault (core dumped)

@luyifanlu
Copy link
Author

luyifanlu commented Aug 4, 2020

找到原因了是在text_grapher.py文件第168行,sent出现不能识别的字符�。这个有办法解决吗

words, postags = self.process_sent(sent)

@lhy2749
Copy link

lhy2749 commented Aug 9, 2020

这个问题我前两天刚遇到,在win下面不会有问题,在linux上会有问题,但我遇到的是空字符串,加了个判断就好了

@lzh1998-jansen
Copy link

在win下面不会有问题,在linux上会有问题,但我遇到的是空字符串,加了个判断就好

image
我在运行text_grapher.py的时候报错了,您知道怎么解决吗

@zhuang0557
Copy link

在win下面不会有问题,在linux上会有问题,但我遇到的是空字符串,加了个判断就好

image 我在运行text_grapher.py的时候报错了,您知道怎么解决吗

你好,模型在哪里下载呀?

@zhenghuawang6
Copy link

在win下面不会有问题,在linux上会有问题,但我遇到的是空字符串,加了个判断就好

image 我在运行text_grapher.py的时候报错了,您知道怎么解决吗
我也遇到这个问题了 请问怎么解决

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

5 participants