Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.face
Commits
28e747cc
Commit
28e747cc
authored
6 years ago
by
Anjith GEORGE
Browse files
Options
Downloads
Patches
Plain Diff
More docs
parent
608e03dd
No related branches found
No related tags found
1 merge request
!86
Batl loo protocols
Pipeline
#26459
passed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/pad/face/database/batl.py
+9
-1
9 additions, 1 deletion
bob/pad/face/database/batl.py
with
9 additions
and
1 deletion
bob/pad/face/database/batl.py
+
9
−
1
View file @
28e747cc
...
@@ -202,6 +202,14 @@ class BatlPadDatabase(PadDatabase):
...
@@ -202,6 +202,14 @@ class BatlPadDatabase(PadDatabase):
infrared data only, use 50 frames, join train and dev sets forming
infrared data only, use 50 frames, join train and dev sets forming
a single large training set.
a single large training set.
"
grandtest-infrared-50-LOO_<unseen_attack>
"
, for example
"
grandtest-infrared-50-LOO_fakehead
"
- Leave One Out (LOO) protocol with fakehead attacks present only in the `test` set. The original partitioning
in the `grandtest` protocol is queried first and subselects the file list such
that the specified `unknown_attack` is removed from both `train` and `dev` sets.
The `test` set will consist of only the selected `unknown_attack` and `bonafide` files.
This protocol is used to evaluate the robustness against attacks unseen in training.
.
"
grandtest-color*infrared-50
"
- baseline protocol,
"
grandtest-color*infrared-50
"
- baseline protocol,
load both
"
color
"
and
"
infrared
"
channels,
load both
"
color
"
and
"
infrared
"
channels,
use 50 frames.
use 50 frames.
...
@@ -605,7 +613,7 @@ class BatlPadDatabase(PadDatabase):
...
@@ -605,7 +613,7 @@ class BatlPadDatabase(PadDatabase):
batl_files
=
batl_files
+
tbatl_files
batl_files
=
batl_files
+
tbatl_files
if
'
test
'
in
groups
:
if
'
test
'
in
groups
:
tbatl_files
=
self
.
db
.
objects
(
protocol
=
protocol
,
tbatl_files
=
self
.
db
.
objects
(
protocol
=
protocol
,
groups
=
[
'
test
'
],
groups
=
[
'
test
'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment