sogou / SogouMRCToolkit

This toolkit was designed for the fast and efficient development of modern machine comprehension models, including both published models and original prototypes.
Apache License 2.0
746 stars 162 forks source link

Can't find model 'en' #23

Closed MYWmiss closed 5 years ago

MYWmiss commented 5 years ago

Traceback (most recent call last): File "E:/HDL/SMRCToolkit/run_bidafplus.py", line 21, in reader = CoQAReader(history=-1) File "E:\HDL\SMRCToolkit\sogou_mrc\dataset\coqa.py", line 16, in init self.tokenizer = SpacyTokenizer() File "E:\HDL\SMRCToolkit\sogou_mrc\utils\tokenizer.py", line 9, in init self.nlp = spacy.load('en', disable=['parser','tagger','entity']) File "D:\Program Files (x86)\Anaconda\lib\site-packages\spacy__init__.py", line 27, in load return util.load_model(name, **overrides) File "D:\Program Files (x86)\Anaconda\lib\site-packages\spacy\util.py", line 136, 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.

Fengwills commented 5 years ago

How did you solve it?