Skip to content
Snippets Groups Projects
Commit 2eca07c7 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed issue with the number of workers

parent a1e30d2e
No related branches found
No related tags found
1 merge request!180[dask] Preparing bob.bio.base for dask pipelines
Pipeline #37712 failed
......@@ -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.
Finish editing this message first!
Please register or to comment