Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
514da338
Commit
514da338
authored
Nov 07, 2016
by
André Anjos
💬
Browse files
Remove ipdb trace
parent
1fdb1b6f
Pipeline
#5204
passed with stages
in 5 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/plot.py
View file @
514da338
...
...
@@ -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
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
:
import
ipdb
;
ipdb
.
set_trace
()
raise
ValueError
(
"There need to be at least one pair with only negative scores"
)
# compute thresholds based on FAR values
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment