MIC-DKFZ / nnUNet

Apache License 2.0
5.66k stars 1.71k forks source link

Bus Error During nnUNet Inference in Docker #2452

Closed mtoan65 closed 3 weeks ago

mtoan65 commented 1 month ago

Hello @FabianIsensee , I'm encountering an issue while running nnUNet inference within a Docker container. The process is terminating with a "Bus error (core dumped)" message. Previously, I had resolved a similar issue by adjusting the nnUNet_def_n_proc parameter to 2 or 4. However, this solution is no longer effective in the current scenario.

Juusotak commented 1 month ago

I'm encountering similiar issue when running nnUNetv2_predict inside Azure ML job.

Juusotak commented 1 month ago

@mtoan65

I managed to solve this issue by adding --ipc=host as a docker argument in Azure ML.

GregorKoehler commented 1 month ago

Hi @mtoan65, and thanks for your suggestion @Juusotak! I hope this helps in your case as well @mtoan65. Please confirm if it did afterwards :)

GregorKoehler commented 3 weeks ago

Due to this issue being stale for a while, I'll close it for now. Feel free to re-open if you still face this issue.