-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loading existing model throws exception KeyError: 1 #1026
Comments
I am trying to train my own named entity recognizer but I fails exactly in the same way. |
Hi Guys, I am trying to use spacy with rasa_nlu and I am getting this error: python -m rasa_nlu.server -c config.json --server_model_dirs=./model_20170429-200133 just follow the steps to install and raise up a demo (using a docker container) the things just blow up at this point. my best regards. |
by the way I am using this version of spacy: |
i've been created a new docker container with more dependencies |
Closing this and making #1046 the master issue. Work in progress for spaCy v2.0! |
@ines is there a workaround until 2.0 is released? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've trained a model using BILUO tags after saving when I try to load the mode it throws an error.
Here is the code for saving the model
Here is the code for loading the model
This line throws error ner = EntityRecognizer.load(model_dir, nlp.vocab, require=True)
Here is the console output.
Your Environment
Info about spaCy
The text was updated successfully, but these errors were encountered: