spaCy version 2.0.11
Traceback (most recent call last):
File “/Users/KB/.pyenv/versions/3.5.2/lib/python3.5/runpy.py”, line 184, in _run_module_as_main
“main”, mod_spec)
File “/Users/KB/.pyenv/versions/3.5.2/lib/python3.5/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/prodigy/main.py”, line 259, in
controller = recipe(args, use_plac=True)
File “cython_src/prodigy/core.pyx”, line 167, in prodigy.core.recipe.recipe_decorator.recipe_proxy
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/plac_core.py”, line 328, in call
cmd, result = parser.consume(arglist)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/plac_core.py”, line 207, in consume
return cmd, self.func((args + varargs + extraopts), **kwargs)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/prodigy/recipes/ner.py”, line 377, in batch_train
nlp = spacy.load(input_model)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/init.py”, line 15, in load
return util.load_model(name, **overrides)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/util.py”, line 116, in load_model
return load_model_from_path(Path(name), **overrides)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/util.py”, line 156, in load_model_from_path
return nlp.from_disk(model_path)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/language.py”, line 653, in from_disk
util.from_disk(path, deserializers, exclude)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/util.py”, line 511, in from_disk
reader(path / key)
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/language.py”, line 649, in
deserializers[name] = lambda p, proc=proc: proc.from_disk(p, vocab=False)
File “nn_parser.pyx”, line 901, in spacy.syntax.nn_parser.Parser.from_disk
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/util.py”, line 511, in from_disk
reader(path / key)
File “nn_parser.pyx”, line 898, in spacy.syntax.nn_parser.Parser.from_disk.lambda11
File “/Users/KB/.virtualenvs/foobar/lib/python3.5/site-packages/spacy/util.py”, line 464, in read_json
with location.open(‘r’, encoding=‘utf8’) as f:
File “/Users/KB/.pyenv/versions/3.5.2/lib/python3.5/pathlib.py”, line 1151, in open
opener=self._opener)
File “/Users/KB/.pyenv/versions/3.5.2/lib/python3.5/pathlib.py”, line 1005, in _opener
return self._accessor.open(self, flags, mode)
File “/Users/KB/.pyenv/versions/3.5.2/lib/python3.5/pathlib.py”, line 371, in wrapped
return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: ‘base-model/ner/cfg’