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

Segmentation Fault: neuralcoref==0.4.0 & spacy==2.1.4 #164

Closed
dmmiller612 opened this issue May 14, 2019 · 11 comments
Closed

Segmentation Fault: neuralcoref==0.4.0 & spacy==2.1.4 #164

dmmiller612 opened this issue May 14, 2019 · 11 comments

Comments

@dmmiller612
Copy link

Hello, first of all, I wanted to mention that this is an awesome library. I am building a library around both this repository and your BERT implementations for extractive text summarization.

I recently noticed that I am getting a segmentation fault with spacy==2.1.4 and neuralcoref==0.4.0. I have tried this on ubuntu 18.04 and macOS. Spacy==2.1.3 seems to be working fine. The code below reproduces the issue.

import neuralcoref
from spacy.lang.en import English

nlp = English()
nlp.add_pipe(self.nlp.create_pipe('sentencizer'))
neuralcoref.add_to_pipe(nlp, greedyness=0.4)

I was going to take a look at this issue myself, but I wanted to make sure that you hadn't ran across something like this beforehand.

@dmmiller612
Copy link
Author

As an update, spacy 2.1.3 does not have an issue and works fine. I have only seen the issue in spacy==2.1.4

@SrGrace
Copy link

SrGrace commented Jun 11, 2019

its not even working with spacy==2.1.3. Segmentation fault :(

@mmxgn
Copy link

mmxgn commented Jun 13, 2019

I think this is a duplicate of: #167

Neuralcoref (4.0 - from pip) works with 2.1.3 here.

@dmmiller612
Copy link
Author

Yeah, I have had no issues with 2.1.3. Only 2.1.4.

@SrGrace
Copy link

SrGrace commented Jun 17, 2019

Yeah, I created a new venv and then installed it with spacy==2.1.3. working fine!

@colbyham
Copy link

I also was able to get it working using spacy==2.1.3

@thomwolf
Copy link
Member

Yeah, this is a recurring problem.
I would like to be able to understand how we could keep the library in sync with SpaCy more easily.
I'll see if Matthew and Inès have some insights.

@cmckain
Copy link

cmckain commented Jul 14, 2019

Recompilation from source after installing spacy was able to solve this problem for me, even on 2.1.6.

image

@stale
Copy link

stale bot commented Sep 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 12, 2019
@stale stale bot closed this as completed Sep 19, 2019
@svlandeg
Copy link
Collaborator

Merging with Issue #197

@CharizardAcademy
Copy link

save issue occurs with spacy==2.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants