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.pad.base
Commits
f5dae9fd
Commit
f5dae9fd
authored
Jun 21, 2018
by
Theophile GENTILHOMME
Browse files
[script][vuln_commands,vuln_figure] Fix bug after names have been
changed
parent
d1557c28
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/vuln_commands.py
View file @
f5dae9fd
...
...
@@ -185,7 +185,7 @@ def det(ctx, scores, real_data, **kwargs):
$ bob vuln det -v scores-{licit,spoof}
"""
process
=
figure
.
Det
(
ctx
,
scores
,
True
,
load
.
split
,
real_data
,
False
)
process
=
figure
.
Det
Vuln
(
ctx
,
scores
,
True
,
load
.
split
,
real_data
,
False
)
process
.
run
()
...
...
bob/pad/base/script/vuln_figure.py
View file @
f5dae9fd
...
...
@@ -585,7 +585,7 @@ class DetVuln(BaseVulnDetRoc):
def
__init__
(
self
,
ctx
,
scores
,
evaluation
,
func_load
,
real_data
,
no_spoof
):
super
(
Det
,
self
).
__init__
(
ctx
,
scores
,
evaluation
,
func_load
,
super
(
Det
Vuln
,
self
).
__init__
(
ctx
,
scores
,
evaluation
,
func_load
,
real_data
,
no_spoof
)
self
.
_x_label
=
self
.
_x_label
or
"FMR"
self
.
_y_label
=
self
.
_y_label
or
"FNMR"
...
...
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