diff --git a/bob/bio/face/config/database/ijbc.py b/bob/bio/face/config/database/ijbc.py index 6f410fd4191be9e7ca45f93f6727153a541b7fac..bafb762bd15d57d0953f66537ca0870184000fa2 100644 --- a/bob/bio/face/config/database/ijbc.py +++ b/bob/bio/face/config/database/ijbc.py @@ -4,7 +4,12 @@ from bob.bio.face.database import IJBCBioDatabase ijbc_directory = "[YOUR_IJBC_DIRECTORY]" -database = IJBCBioDatabase( +ijbc_11 = IJBCBioDatabase( original_directory=ijbc_directory, protocol='1:1' ) + +ijbc_covariates = IJBCBioDatabase( + original_directory=ijbc_directory, + protocol='Covariates' +) diff --git a/bob/bio/face/test/test_databases.py b/bob/bio/face/test/test_databases.py index d7f4381f70f7e30dd35ca08a87425288e14ebd7f..bc8b8b9bece2142c997187d3d22345d0a128c66f 100644 --- a/bob/bio/face/test/test_databases.py +++ b/bob/bio/face/test/test_databases.py @@ -378,7 +378,7 @@ def test_ijbb(): @db_available('ijbc') def test_ijbc(): database = bob.bio.base.load_resource( - 'ijbc', 'database', preferred_package='bob.bio.face') + 'ijbc-11', 'database', preferred_package='bob.bio.face') try: check_database(database, models_depend=True, training_depends=True) except IOError as e: diff --git a/setup.py b/setup.py index 81e0030725ef311e9c0748e02d6a6d412aa975f7..1d257edc2ee2292f1c0c4cd3efd89f3e5bdf906d 100644 --- a/setup.py +++ b/setup.py @@ -117,7 +117,10 @@ setup( 'gbu = bob.bio.face.config.database.gbu:database', 'ijba = bob.bio.face.config.database.ijba:database', 'ijbb = bob.bio.face.config.database.ijbb:database', - 'ijbc = bob.bio.face.config.database.ijbc:database', + + 'ijbc-11 = bob.bio.face.config.database.ijbc:ijbc_11', + 'ijbc-covariates = bob.bio.face.config.database.ijbc:ijbc_covariates', + 'lfw-restricted = bob.bio.face.config.database.lfw_restricted:database', 'lfw-unrestricted = bob.bio.face.config.database.lfw_unrestricted:database', 'mobio-image = bob.bio.face.config.database.mobio:mobio_image',