Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/site-packages/prodigy/__main__.py", line 61, in <module>
controller = recipe(*args, use_plac=True)
File "cython_src/prodigy/core.pyx", line 325, in prodigy.core.recipe.recipe_decorator.recipe_proxy
File "/usr/local/lib/python3.6/site-packages/plac_core.py", line 367, in call
cmd, result = parser.consume(arglist)
File "/usr/local/lib/python3.6/site-packages/plac_core.py", line 232, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File "/usr/local/lib/python3.6/site-packages/prodigy/recipes/train.py", line 282, in train
silent=silent,
File "/usr/local/lib/python3.6/site-packages/prodigy/recipes/train.py", line 171, in _train
original_logger = config["training"]["logger"]
KeyError: 'logger'
I also had this problem, even with spacy-transformers 1.0.4. Solved it by some users suggestion in the nightly thread to add a few lines to trfs2arrays.py of spacy-transformers.
Hi @TomR and @brobles, can you both confirm that you have the latest version of spacy AND of spacy-transformers? I believe the fix had to be made across both libraries, so it's crucial they're both up-to-date, and not just one of the two.