MIC-DKFZ / nnUNet

Apache License 2.0
5.63k stars 1.71k forks source link

RuntimeError: One or more background workers are no longer alive. #2516

Open Guoxt opened 4 hours ago

Guoxt commented 4 hours ago

File "/opt/conda/lib/python3.8/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 189, 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

Traceback (most recent call last): File "/opt/conda/bin/nnUNetv2_predict", line 8, in sys.exit(predict_entry_point()) File "/opt/conda/lib/python3.8/site-packages/nnunetv2/inference/predict_from_raw_data.py", line 525, in predict_entry_point predict_from_raw_data(args.i, File "/opt/conda/lib/python3.8/site-packages/nnunetv2/inference/predict_from_raw_data.py", line 236, in predict_from_raw_data for preprocessed in mta: File "/opt/conda/lib/python3.8/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 204, in next item = self.get_next_item() File "/opt/conda/lib/python3.8/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 189, 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

Guoxt commented 4 hours ago

How can this issue be resolved?