Skip to content
Snippets Groups Projects
Commit 16641f4d authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[script.evaluate] Fix evaluation script when second-annotator is missing

parent db03125a
No related branches found
No related tags found
1 merge request!12Streamlining
Pipeline #39212 passed
......@@ -169,7 +169,9 @@ def evaluate(
config[k] = {
"dataset": v,
"output_folder": os.path.join(output_folder, k),
"second_annotator": second_annotator.get(k),
"second_annotator": second_annotator.get(k)
if second_annotator
else None,
}
if isinstance(threshold, str):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment