Skip to content
Snippets Groups Projects
Commit f2dfb051 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira Committed by Amir MOHAMMADI
Browse files

Fixed issue with the number of workers

parent 924e98ea
Branches
Tags
1 merge request!180[dask] Preparing bob.bio.base for dask pipelines
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment