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
!14
MIFS database added
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MIFS database added
mifs_baseline
into
master
Overview
0
Commits
19
Pipelines
4
Changes
3
Merged
David GEISSBUHLER
requested to merge
mifs_baseline
into
master
7 years ago
Overview
0
Commits
19
Pipelines
4
Changes
3
Expand
MIFS database added as a file list database.
0
0
Merge request reports
Viewing commit
827e56b6
Prev
Next
Show latest version
3 files
+
36
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
827e56b6
Fixed documentation
· 827e56b6
David GEISSBUHLER
authored
7 years ago
bob/pad/face/config/database/mifs.py
0 → 100644
+
33
−
0
Options
from
bob.pad.face.database.mifs
import
MIFSPadDatabase
# Directory where the data files are stored.
# This directory is given in the .bob_bio_databases.txt file located in your home directory
original_directory
=
"
[YOUR_MIFS_DATABASE_DIRECTORY]
"
"""
Value of ``~/.bob_bio_databases.txt`` for this database
"""
original_extension
=
"
.jpg
"
# extension of the data files
database
=
MIFSPadDatabase
(
protocol
=
'
grandtest
'
,
original_directory
=
original_directory
,
original_extension
=
original_extension
,
training_depends_on_protocol
=
True
,
)
"""
The :py:class:`bob.pad.base.database.PadDatabase` derivative with MIFS
database settings.
.. warning::
This class only provides a programmatic interface to load data in an orderly
manner, respecting usage protocols. It does **not** contain the raw
data files. You should procure those yourself.
Notice that ``original_directory`` is set to ``[YOUR_MIFS_DATABASE_DIRECTORY]``.
You must make sure to create ``${HOME}/.bob_bio_databases.txt`` setting this
value to the place where you actually installed the MIFS Database, as
explained in the section :ref:`bob.pad.face.baselines`.
"""
Loading