diff --git a/src/cvpl_tools/examples/mousebrain_processing.py b/src/cvpl_tools/examples/mousebrain_processing.py index a2c6ef2..0f7b81a 100644 --- a/src/cvpl_tools/examples/mousebrain_processing.py +++ b/src/cvpl_tools/examples/mousebrain_processing.py @@ -183,7 +183,7 @@ async def fn(dask_worker): MAX_THRESHOLD=subject.MAX_THRESHOLD, ppm_to_im_upscale=ppm_to_im_upscale ) - cvpl_nnunet_api.coiled_run(fn=fn, nworkers=10, local_testing=False) + cvpl_nnunet_api.coiled_run(fn=fn, nworkers=5, local_testing=False) cdir_fs = RDirFileSystem(subject.COILED_CACHE_DIR_PATH) with cdir_fs.open('final_lc.npy', mode='rb') as fd: diff --git a/src/cvpl_tools/nnunet/api.py b/src/cvpl_tools/nnunet/api.py index 8cd8aad..c54e57d 100644 --- a/src/cvpl_tools/nnunet/api.py +++ b/src/cvpl_tools/nnunet/api.py @@ -106,7 +106,7 @@ async def mousebrain_forward(dask_worker, sys.stdout = tlfs.MultiOutputStream(sys.stdout, logfile_stdout) sys.stderr = tlfs.MultiOutputStream(sys.stderr, logfile_stderr) - if True and RDirFileSystem(CACHE_DIR_PATH).exists(''): + if False and RDirFileSystem(CACHE_DIR_PATH).exists(''): RDirFileSystem(CACHE_DIR_PATH).rm('', recursive=True) cache_dir_fs = RDirFileSystem(CACHE_DIR_PATH)