Remove explicit shutdown of dask clients in commands
... | ... | @@ -47,7 +47,7 @@ $ bob pipelines vanilla-biometrics DATABASE PIPELINE -vv |
Check out all PIPELINE available by running: | ||
`resource.py --types pipeline` | ||
\b | ||
and all available databases by running: | ||
`resource.py --types database` | ||
... | ... | @@ -66,7 +66,7 @@ It is possible to do it via configuration file |
>>> database = .... # Biometric Database connector (class that implements the methods: `background_model_samples`, `references` and `probes`)" | ||
\b | ||
""" | ||
... | ... | @@ -292,7 +292,7 @@ def vanilla_biometrics_ztnorm( |
def _build_filename(score_file_name, suffix): | ||
return os.path.join(score_file_name, suffix) | ||
# Running RAW_SCORES | ||
# Running RAW_SCORES | ||
raw_scores = post_process_scores( | ||
pipeline, raw_scores, _build_filename(score_file_name, "raw_scores") | ||
) | ||
... | ... | @@ -331,7 +331,3 @@ def vanilla_biometrics_ztnorm( |
_ = compute_scores(zt_normed_scores, dask_client) | ||
logger.info("Experiment finished !!!!!") | ||
|
||
if dask_client is not None: | ||
logger.info("Shutdown workers !!!!!") | ||
dask_client.shutdown() | ||
|
||
logger.info("Done !!!!!") | ||
\ No newline at end of file |