lfw_unrestricted.py 650 Bytes
Newer Older
Manuel Günther's avatar
Manuel Günther committed
1
2
#!/usr/bin/env python

3
from bob.bio.db import LFWBioDatabase
Manuel Günther's avatar
Manuel Günther committed
4
5
6

lfw_directory = "[YOUR_LFW_FUNNELED_DIRECTORY]"

7
8
9
10
11
12
13
database = LFWBioDatabase(
    original_directory=lfw_directory,
    annotation_type='funneled',

    protocol='view1',
    training_depends_on_protocol=True,
    models_depend_on_protocol=True,
Manuel Günther's avatar
Manuel Günther committed
14
15
16
17
18
19

    all_files_options = { 'world_type' : 'unrestricted' },
    extractor_training_options = { 'world_type' : 'unrestricted' }, # 'subworld' : 'twofolds'
    projector_training_options = { 'world_type' : 'unrestricted' }, # 'subworld' : 'twofolds'
    enroller_training_options =  { 'world_type' : 'unrestricted' } # 'subworld' : 'twofolds'
)
20