Cleaning up databases

parent 6405fa0f
Pipeline #40564 failed with stage
in 14 minutes and 20 seconds
from bob.bio.face.embeddings import FaceNetSanderberg
from bob.bio.face.config.baseline.helpers import embedding_transformer_160x160
from bob.bio.base.pipelines.vanilla_biometrics import Distance, VanillaBiometricsPipeline
from bob.bio.base.pipelines.vanilla_biometrics import (
Distance,
VanillaBiometricsPipeline,
)
if "database" in locals():
......@@ -12,11 +14,10 @@ else:
fixed_positions = None
transformer = embedding_transformer_160x160(FaceNetSanderberg(), annotation_type, fixed_positions)
transformer = embedding_transformer_160x160(
FaceNetSanderberg(), annotation_type, fixed_positions
)
algorithm = Distance()
pipeline = VanillaBiometricsPipeline(
transformer,
algorithm
)
pipeline = VanillaBiometricsPipeline(transformer, algorithm)
......@@ -7,12 +7,15 @@ from bob.extension import rc
ijbc_directory = rc["bob.db.ijbc.directory"]
ijbc_11 = DatabaseConnector(
IJBCBioDatabase(original_directory=ijbc_directory, protocol="1:1")
database = DatabaseConnector(
IJBCBioDatabase(original_directory=ijbc_directory, protocol="1:1"),
annotation_type = "eyes-center",
fixed_positions = None,
allow_scoring_with_all_biometric_references = False
)
ijbc_covariates = DatabaseConnector(
IJBCBioDatabase(
original_directory=ijbc_directory, protocol="Covariates"
)
)
#ijbc_covariates = DatabaseConnector(
# IJBCBioDatabase(
# original_directory=ijbc_directory, protocol="Covariates"
# )
#)
......@@ -10,6 +10,8 @@ database = DatabaseConnector(
annotation_directory=rc["bob.db.mobio.annotation_directory"],
original_extension=".png",
protocol="mobile0-male",
)
),
annotation_type = "eyes-center",
fixed_positions = None
)
......@@ -110,8 +110,7 @@ setup(
'atnt = bob.bio.face.config.database.atnt:database',
'gbu = bob.bio.face.config.database.gbu:database',
'ijbc-11 = bob.bio.face.config.database.ijbc:ijbc_11',
'ijbc-covariates = bob.bio.face.config.database.ijbc:ijbc_covariates',
'ijbc-11 = bob.bio.face.config.database.ijbc:database',
'lfw-restricted = bob.bio.face.config.database.lfw_restricted:database',
'lfw-unrestricted = bob.bio.face.config.database.lfw_unrestricted:database',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment