Closed dungtn closed 5 years ago
The tensor mismatch error was caused by incorrectly generated character vocabulary in char_vocab.english.txt
. This file is generated by running get_char_vocab.py
in setup_training.sh
. The python script doesn't work with python 3. So, you either fix them to work with python 3 or run this part of the code with python 2. The model itself worked with python 3 though.
It'll be best if the character vocabulary is also provided with the pre-trained model so it's easier to evaluate and use the coreference model.
Hi @kentonl,
Thank you for the great paper ππ I'm trying to run the pre-trained model by following the batched prediction instructions. I got the
InvalidArgumentError
while runningpython predict.py final mydata.jsonlines output.jsonlines
.I found the same issue #10. However, it isn't clear to me how to resolve this. Can you help point out what I'm missing here?
Thank you!