Closed danielhers closed 2 years ago
The same thing happens when I try to run allennlp predict models/parser.tar.gz data/English/Parser/test.conllu --use-dataset-reader --output-file out.json
with a trained model.
I fixed the problem by starting a new Conda environment with Python 3.7 instead of 3.8. Apparently scikit-learn==0.20.3
does not support Python 3.8.
I am running the training command from the README:
This gives me a
TypeError: an integer is required (got type bytes)
. I could try debugging it but maybe someone already has a solution. Here is the full trace: