Skip to content

Commit

Permalink
created minimal memory use example
Browse files Browse the repository at this point in the history
  • Loading branch information
FJDorfner committed Nov 29, 2024
1 parent fc17471 commit 8ef8980
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion models/mrsegmentator/utils/MRSegmentatorMLRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def task(self, instance: Instance, in_data: InstanceData, out_data: InstanceData
bash_command = ["mrsegmentator"]
bash_command += ["-i", in_data.abspath]
bash_command += ["--outdir", tmp_dir]
bash_command += ["--nproc_export", "4"]
bash_command += ["--nproc_export", "1"]
bash_command += ["--nproc", "1"]
bash_command += ["--batchsize", "1"]

if self.use_fast_mode:
self.v("Running MRSegmentator in lower memory footprint mode ('--split_level', 1)")
Expand Down

0 comments on commit 8ef8980

Please sign in to comment.