diff --git a/bob/bio/base/script/vanilla_biometrics.py b/bob/bio/base/script/vanilla_biometrics.py index aa23fd2e1de3313e2de58b8c0dd791a6715bb0c5..efe5e88b976cfee696a4f10c4196c953286d4ed9 100644 --- a/bob/bio/base/script/vanilla_biometrics.py +++ b/bob/bio/base/script/vanilla_biometrics.py @@ -214,7 +214,7 @@ def vanilla_biometrics( with open(os.path.join(output,f"scores-{g}"), "w") as f: # Spliting the references in small chunks - n_workers = 3 + n_workers = len(dask_client.cluster.workers) biometric_references = database.references(group=g) offset = 0 step = len(biometric_references)//n_workers