-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
running NER fails (in my venv) #9
Comments
Hello! I have a similar error after adding a custom NER model to the |
Nope, I gave up as there was no further response here. Let me know if you succeed! :) |
Thanks for your answer! I'll keep you updated if I find a way. 👍 |
I have tried modifying I have tried using a SpaCy NER model directly trained with TEI Publisher GUI, and I also tried using a custom SpaCy transformer NER model, trained with a newer SpaCy version environment (so outside TEI Publisher GUI). I'm copy-pasting the error traceback here for referencing it in the future. In the traceback, TEI Publisher SpaCy NER model is referred as
|
tei-publisher-ner is running in a venv
env
in the folder I cloned this repo to (maybe related to #5).Training on a set of TEIs directly from TEIPublisher worked, and a model is indeed created in a
models
folder: amazing!Yet when -- after a restart of the python server -- trying to run NER from the annotation playground in TEIPublisher, nothing happens (no popup to choose a model from), and there is a 404 thrown by http://localhost:8080/exist/apps/tei-publisher/api/nlp/status/models:
{"code":"errors:NOT_FOUND_404","value":null,"module":"/db/apps/tei-publisher/modules/lib/api/nlp.xql","line":39,"column":13,"description":"An error has been raised by the query [at line 39 column 13 in module /db/apps/tei-publisher/modules/lib/api/nlp.xql]"}
I’m pasting the output from the terminal running the server below, hope this is enough info for some debugging (full absolute path redacted).
The text was updated successfully, but these errors were encountered: