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
Pipeline #37712 failed with stage
in 5 minutes and 49 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment