Replies: 1 comment
-
(This is the configuration that was loaded according to the output of the CLI:) This is the configuration used by this training: These are the global plan.json settings: |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I wonder if there is a way to manually set the patch size, e.g. to include full axial slices as FOV while limiting the number of slices? I understand this is not so trivial, so a workaround for defining the patch sizes in the plans.json files is also good.
So far, I tried to change these .json plans with an extra configuration next to the default ones like 2d or 3d_fullres, but it results in the following error while training the nnUNet:
Traceback (most recent call last):
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 125, in results_loop
raise e
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 103, in results_loop
raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the "
RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message
Traceback (most recent call last):
File "/home/jonas/miniconda3/envs/segmentation/bin/nnUNetv2_train", line 8, in
sys.exit(run_training_entry())
File "/home/jonas/Documenten/Code/nnUNet/nnunetv2/run/run_training.py", line 418, in run_training_entry
run_training(
File "/home/jonas/Documenten/Code/nnUNet/nnunetv2/run/run_training.py", line 291, in run_training
nnunet_trainer.run_training()
File "/home/jonas/Documenten/Code/nnUNet/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 1816, in run_training
self.on_train_start()
File "/home/jonas/Documenten/Code/nnUNet/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 1196, in on_train_start
self.dataloader_train, self.dataloader_val = self.get_dataloaders()
File "/home/jonas/Documenten/Code/nnUNet/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 951, in get_dataloaders
_ = next(mt_gen_train)
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 196, in next
item = self.__get_next_item()
File "/home/jonas/miniconda3/envs/segmentation/lib/python3.9/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 181, in __get_next_item
raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the "
RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message
Any help or feedback is greatly appreciated!
Best regards
Jonas
Beta Was this translation helpful? Give feedback.
All reactions