mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Update spacy/cli/find_threshold.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
0ee225763a
commit
bbfef28791
|
@ -192,7 +192,7 @@ def find_threshold(
|
||||||
wasabi.msg.fail(
|
wasabi.msg.fail(
|
||||||
title=f"Failed to look up score `{scores_key}` in evaluation results.",
|
title=f"Failed to look up score `{scores_key}` in evaluation results.",
|
||||||
text=f"Make sure you specified the correct value for `scores_key`. The following scores are "
|
text=f"Make sure you specified the correct value for `scores_key`. The following scores are "
|
||||||
f"available: {eval_scores.keys()}",
|
f"available: {list(eval_scores.keys())}",
|
||||||
exits=1,
|
exits=1,
|
||||||
)
|
)
|
||||||
scores[threshold] = eval_scores[scores_key]
|
scores[threshold] = eval_scores[scores_key]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user