diff --git a/bob/bio/base/config/examples/pca_mobio-male.py b/bob/bio/base/config/examples/pca_mobio-male.py index 27df1f840bd5972b0b1b01115252be497aa66625..ef0dc0e4ac2f6a30bbaf15548ccad9f4e2445fc4 100644 --- a/bob/bio/base/config/examples/pca_mobio-male.py +++ b/bob/bio/base/config/examples/pca_mobio-male.py @@ -62,7 +62,7 @@ extractor = Pipeline(steps=[ ('1',CheckpointSampleLinearize(features_dir=os.path.join(base_dir,"extractor1"))), ('2',CheckpointSamplePCA(features_dir=os.path.join(base_dir,"extractor2"), model_path=os.path.join(base_dir,"pca.pkl"))) ]) -#extractor = dask_it(extractor) +extractor = dask_it(extractor) from bob.bio.base.pipelines.vanilla_biometrics.biometric_algorithm import Distance, BiometricAlgorithmCheckpointMixin diff --git a/bob/bio/base/pipelines/vanilla_biometrics/legacy.py b/bob/bio/base/pipelines/vanilla_biometrics/legacy.py index 346eea5b9f9fbc345b76e02485481f6c602fcbb1..df5bb27e99ac70a4eede37af06380ed78216756d 100644 --- a/bob/bio/base/pipelines/vanilla_biometrics/legacy.py +++ b/bob/bio/base/pipelines/vanilla_biometrics/legacy.py @@ -263,7 +263,7 @@ class DatabaseConnectorAnnotated(DatabaseConnector): [ DelayedSample( load=functools.partial( - _load_data_and_annotations, self.database.annotations(k), self.database.original_directory, self.database.original_extension + _load_data_and_annotations, k, self.database.annotations(k), self.database.original_directory, self.database.original_extension ), key=str(k.id), path=k.path, @@ -311,7 +311,7 @@ class DatabaseConnectorAnnotated(DatabaseConnector): [ DelayedSample( load=functools.partial( - _load_data_and_annotations, self.database.annotations(k), self.database.original_directory, self.database.original_extension + _load_data_and_annotations, k, self.database.annotations(k), self.database.original_directory, self.database.original_extension ), key=k.id, path=k.path, @@ -368,7 +368,7 @@ class DatabaseConnectorAnnotated(DatabaseConnector): [ DelayedSample( load=functools.partial( - _load_data_and_annotations, self.database.annotations(o), self.database.original_directory, self.database.original_extension + _load_data_and_annotations, o, self.database.annotations(o), self.database.original_directory, self.database.original_extension ), key=o.id, path=o.path,