Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl5766 committed Dec 13, 2024
1 parent 9806202 commit 867ab06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cvpl_tools/examples/mousebrain_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/cvpl_tools/nnunet/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 867ab06

Please sign in to comment.