-
Notifications
You must be signed in to change notification settings - Fork 856
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
SpacyPreprocessor can't load en_core_web_sm #1496
Comments
See also #1458 |
Ok, this seems to be a Jupyter problem. When re-running a cell where I had previously not used/imported Don't know who to blame but thought I'd let you know :) I'll let you close it. |
Btw, to reproduce change the |
Ah, thanks for posting this! I'm sure others will find it helpful. Yep, I believe that after downloading a spacy model, you need to restart the kernel to have it recognized (i.e., it needs to be present when spaCy is first imported?). If anyone else discovers more here, please leave another comment. And when #1458 gets addressed, there should at least be a more helpful error message when the model isn't present or being recognized. |
Love the notebook, btw @rjurney! |
@bhancock8 thanks! I found that you can use |
Actually, I will fix #1458 since I know just how |
Issue description
I am having the following problem while running snorkel
master
/0.9.2+dev
in a Jupyter Notebook (link to the notebook in nbviewer, it won't render on Github... my notebooks never render on Github):I get the following error:
Code example/repro steps
See Jupyter Notebook for full code.
Expected behavior
I expect the SpacyPreprocessor to instantiate succesfully and it does not.
System info
requirements.txt reads:
pip freeze | grep snorkel
reads:0.9.2+dev
pip install -r requirements.txt
master
/0.9.2+dev
Additional context
Halp :)
The text was updated successfully, but these errors were encountered: