Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About using Google Colab to run the nnUNet #1

Open
Calvin-Pang opened this issue Jan 21, 2023 · 1 comment
Open

About using Google Colab to run the nnUNet #1

Calvin-Pang opened this issue Jan 21, 2023 · 1 comment

Comments

@Calvin-Pang
Copy link

Hi, I am a graduate student who is trying to use nnUNet in Colab.

I tried to run nnUNet preprocessing on the Liver dataset in Medical Decathlon Dataset with the Google Colab. But I found I will always met a freeze in the process even I have made the number of threads 1. So have you ever tried the liver tumor segmentation dataset in Colab? Or can you give me some advice about this issue?

Many thanks!

@sten2lu
Copy link
Contributor

sten2lu commented Sep 8, 2023

Hi @Calvin-Pang,
I am sorry for the late reply.

I never ran preprocessing on the Liver Dataset of the Medical Decathlon Dataset on google colab.
As freezing processes are often attributed to exceeding the RAM and some workers crashing, your idea to reduce the number of worker was correct.
Perhaps you could try to run the same Code with nnU-Net Version 2, this Google Colab has now also been updated to nnU-Net version 2. So you might want to check it out again.
The advantage of nnU-Net V2 is that it now throws errors when it gets stuck due to multiprocessing issues.

If you know exactly which type of configuration you want to prepare, you could also try the following command.

nnUNetv2_plan_and_preprocess -d <Liver Dataset> -c 3d_fullres -np 1 --verbose

Best regards,
Carsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants