Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Error associated with multiprocessing and counting terms #43

Open
kevinlu1248 opened this issue Jun 28, 2021 · 0 comments
Open

Error associated with multiprocessing and counting terms #43

kevinlu1248 opened this issue Jun 28, 2021 · 0 comments
Assignees

Comments

@kevinlu1248
Copy link
Owner

When TermExtraction.count_terms_from_documents() is run, I get the error Error: Can't pickle local object 'Tok2Vec.predict.<locals>.<lambda>', an error only occurring when multiprocessing is turned on. This leads to weirdness and term_extraction both yielding strange results. A temporary fix has been done by disabling multiprocessing.

@kevinlu1248 kevinlu1248 self-assigned this Jun 28, 2021
kevinlu1248 added a commit that referenced this issue Jun 28, 2021
kevinlu1248 added a commit that referenced this issue Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant