You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expect
return f(*args, **kwds)
/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expect
return f(*args, **kwds)
/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expect
return f(*args, **kwds)
Traceback (most recent call last):
File "inference.py", line 3, in
from preprocess_data import preprocess_batch
File "/Users/ishandutta2007/Documents/Projects/paraphraser/paraphraser/preprocess_data.py", line 23, in
from nlp_pipeline import openmp_nlp_pipeline
File "/Users/ishandutta2007/Documents/Projects/paraphraser/paraphraser/nlp_pipeline.py", line 7, in
nlp = spacy.load('en')
File "/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/site-packages/spacy/init.py", line 21, in load
return util.load_model(name, **overrides)
File "/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/site-packages/spacy/util.py", line 119, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
The text was updated successfully, but these errors were encountered:
Steps:
Step1:
Downloaded models to
~/Documents/Projects/paraphraser/checkpoint_path/train-20180325-001253
Step2:
cd ~/Documents/Projects/paraphraser/paraphraser
Step3:
ishandutta2007@MacBook-Pro:~/Documents/Projects/paraphraser/paraphraser$
python inference.py --checkpoint=../checkpoint_path/train-20180325-001253/model-171856
The text was updated successfully, but these errors were encountered: