inception-project / inception-external-recommender

Get annotation suggestions for the INCEpTION text annotation platform from spaCy, Sentence BERT, scikit-learn and more. Runs as a web-service compatible with the external recommender API of INCEpTION.
Apache License 2.0
40 stars 17 forks source link

Cannot start server without installing all support libraries #25

Open reckart opened 3 years ago

reckart commented 3 years ago

Describe the bug As far as I remember, when I wanted to start the server with just space, I had to comment out all the classifiers classes from the init file in the contrib package that were not spacy because during the loading of the init file, Python would try to resolve the imported classes and fail trying to do that (because the dependencies from the other classifiers were not installed).

reckart commented 3 years ago

Also affects the tests. When running the tests, those tests for which the dependencies are not fulfilled should probable by skipped.