-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Pickling of PhraseMatcher not yet resolved in 2.1.3 #3494
Comments
I can reproduce your error with the code above. However, I don't think it's a |
Is there a recommended best practice for pickling nlp/Matcher between
different processes? The fundamental use case we have to solve is
serialization across different machines so we can't simply re-use the same
nlp instance.
Kushal
…On Thu, Jul 11, 2019 at 8:34 AM Sofie Van Landeghem < ***@***.***> wrote:
I can reproduce your error with the code above. However, I don't think
it's a Matcher pickling issue. If you would keep the same nlp object
rather than constructing a new one, you wouldn't run into this, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3494?email_source=notifications&email_token=AAAMMOUHRGYG5WXGP5W4HFTP65HH5A5CNFSM4HBV3CS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXCYNA#issuecomment-510536756>,
or mute the thread
<https:/notifications/unsubscribe-auth/AAAMMOWGIE266T6BTKJRNBTP65HH5ANCNFSM4HBV3CSQ>
.
|
Is it an option to serialize the
|
This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
#1971 and #3248 show that pickling works, but I'm still able to repro issues in 2.1.3.
Minimal Reproducible Example
Building off #3252 unit test:
(re-start Python)
Info about spaCy
The text was updated successfully, but these errors were encountered: