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

[script.evaluate] Improve exception message

parent 41d1ecf2
No related branches found
No related tags found
1 merge request!6Making use of LightningDataModule and simplification of data loading
Pipeline #77080 failed
...@@ -178,7 +178,7 @@ def evaluate( ...@@ -178,7 +178,7 @@ def evaluate(
f1_threshold = threshold f1_threshold = threshold
eer_threshold = f1_threshold eer_threshold = f1_threshold
else: else:
raise ValueError("Threshold value is neither an int nor a float") raise ValueError("Threshold value is neither a str or a float")
results_dict = { # type: ignore results_dict = { # type: ignore
"pred_data": defaultdict(dict), "pred_data": defaultdict(dict),
......
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