Using a mac (Version 10.13.6), I have just installed pie (pip install nlp-pie) in a virtualenv and I need to evaluate two models (one for pos, one for lemma). When I run pie eval I get: TypeError: run() missing 2 required positional arguments: 'use_beam' and 'beam_width'.
The complete traceback is the following:
(env) ➜ pie git:(master) ✗ pie eval models/lemma.tar Data_outOfDomain/theatre_original/16_orig/*tsv [(2.6.2)]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/pie", line 11, in <module>
sys.exit(pie_cli())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pie/scripts/group.py", line 77, in evaluate
report=report, markdown=markdown)
TypeError: run() missing 2 required positional arguments: 'use_beam' and 'beam_width'
Using a mac (Version 10.13.6), I have just installed pie (
pip install nlp-pie
) in a virtualenv and I need to evaluate two models (one for pos, one for lemma). When I runpie eval
I get:TypeError: run() missing 2 required positional arguments: 'use_beam' and 'beam_width'
.The complete traceback is the following:
For repro: Models are available here and testing data here.
thanks