From 016160c72be9b4d92fe1922ceaaa8a848e04e747 Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Tue, 24 Mar 2020 11:35:43 +0100
Subject: [PATCH] Update example

---
 bob/bio/base/config/examples/pca_mobio-male.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bob/bio/base/config/examples/pca_mobio-male.py b/bob/bio/base/config/examples/pca_mobio-male.py
index ef0dc0e4..4d3e71a8 100644
--- a/bob/bio/base/config/examples/pca_mobio-male.py
+++ b/bob/bio/base/config/examples/pca_mobio-male.py
@@ -55,6 +55,7 @@ original_preprocessor = functools.partial(
 
 from bob.pipelines.mixins import mix_me_up
 preprocessor = mix_me_up((CheckpointMixin, SampleMixin), LegacyProcessorMixin)
+#class preprocessor(CheckpointMixin, SampleMixin, LegacyProcessorMixin): pass
 
 from bob.pipelines.mixins import dask_it
 extractor = Pipeline(steps=[
@@ -62,7 +63,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, npartitions=48)
 
 from bob.bio.base.pipelines.vanilla_biometrics.biometric_algorithm import Distance, BiometricAlgorithmCheckpointMixin
 
-- 
GitLab