-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Error when trying to use nlp.pipe
with n_process
> 1
#179
Comments
Thank you @DayalStrub - To confirm, when running
Then
So we need to make the |
This appears to be happening in several cases in |
any update on this bug ? |
Intro
I am getting
TypeError: can not serialize 'BaseTextRank' object
when trying to use spaCy's multiprocessing innlp.pipe
with atextrank
pipeline component.Sorry if this a known/expected feature/limitation - I couldn't find anything by searching repo. I generally find (spaCy's) multiprocessing a bit temperamental anyhow, but this seems to just not work.
PS. thanks for all the great work on the package!
Environment
Ubuntu 18.X (AWS DL AMI), Python 3.8 (via conda/mamba), pytextrank installed via pip, thtough conda - do let me know if you need more info.
Reproducible example - hopefullly
The text was updated successfully, but these errors were encountered: