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

Recommender only ever trained once #58

Closed reckart closed 5 months ago

reckart commented 5 months ago

Describe the bug Recommender only ever trained once. All subsequent times it reports "Training already in progress"

To Reproduce Steps to reproduce the behavior:

  1. Try setting up a trainable recommender e.g. using the LogOnlyRecommender
  2. Connect INCEpTION to it
  3. Annotate stuff and observe the log output - notice the first time a training is logger, but the second and later times it claims to still be training.

Expected behavior When the training is done or aborts, the lock should be released such that training can be done again.

Please complete the following information: