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

Remove ipdb trace

parent 1fdb1b6f
No related branches found
No related tags found
1 merge request!21Fixes verbosity; Fixes CMC plot (closes #20)
Pipeline #
...@@ -542,7 +542,6 @@ def detection_identification_curve(cmc_scores, far_values = log_values(), rank ...@@ -542,7 +542,6 @@ def detection_identification_curve(cmc_scores, far_values = log_values(), rank
# for each probe, for which no positives exists, get the highest negative score; and sort them to compute the FAR thresholds # for each probe, for which no positives exists, get the highest negative score; and sort them to compute the FAR thresholds
negatives = sorted(max(neg) for neg,pos in cmc_scores if (pos is None or not numpy.array(pos).size) and neg is not None) negatives = sorted(max(neg) for neg,pos in cmc_scores if (pos is None or not numpy.array(pos).size) and neg is not None)
if not negatives: if not negatives:
import ipdb; ipdb.set_trace()
raise ValueError("There need to be at least one pair with only negative scores") raise ValueError("There need to be at least one pair with only negative scores")
# compute thresholds based on FAR values # compute thresholds based on FAR values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment