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
Merge requests
!86
Batl loo protocols
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Batl loo protocols
batl_LOO_protocols
into
master
Overview
1
Commits
6
Pipelines
5
Changes
1
Merged
Anjith GEORGE
requested to merge
batl_LOO_protocols
into
master
6 years ago
Overview
1
Commits
6
Pipelines
5
Changes
1
Expand
Adds Leave one out protocols to the BATL HLDI.
0
0
Merge request reports
Viewing commit
28e747cc
Prev
Next
Show latest version
1 file
+
9
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
28e747cc
More docs
· 28e747cc
Anjith GEORGE
authored
6 years ago
bob/pad/face/database/batl.py
+
9
−
1
Options
@@ -202,6 +202,14 @@ class BatlPadDatabase(PadDatabase):
infrared data only, use 50 frames, join train and dev sets forming
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,
load both
"
color
"
and
"
infrared
"
channels,
use 50 frames.
@@ -605,7 +613,7 @@ class BatlPadDatabase(PadDatabase):
batl_files
=
batl_files
+
tbatl_files
if
'
test
'
in
groups
:
tbatl_files
=
self
.
db
.
objects
(
protocol
=
protocol
,
groups
=
[
'
test
'
],
Loading