Closed stweil closed 1 year ago
Sorry, I just noticed that issue #440 already reported the same problem.
Related kraken code:
metric = float(trainer.logged_metrics['val_metric']) if 'val_metric' in trainer.logged_metrics else -1.0
trainer.model.nn.user_metadata['accuracy'].append((trainer.global_step, metric))
I fixed my models using this script: https://ub-backup.bib.uni-mannheim.de/~stweil/tesstrain/kraken/mlmodel.py.
Several newly trained models show an accuracy of -100.0% in eScriptorium. It looks like that value comes from unexpected user metadata in the model file. Manual test: