-
Notifications
You must be signed in to change notification settings - Fork 223
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
RuntimeError #111
Comments
Hi, there must be another error message somewhere in your output. Can you look for it? |
Hi! Apologies Fabian and Chao for invading this issue, but I am having a similar issue than yours and maybe I can clarify the error Chao was getting. For context, I was trying to run nnUNet with modified code. I changed the max_num_epochs from 1000 to 400, and the lr threshold from 1e-6 to 5e-3. Furthermore, I was getting stuck at validation so I implemented the change mentioned in MIC-DKFZ/nnUNet#902. As you can see, I commented the original code and substituted it by the following (line 662 of nnUNetTrainer):
I don't believe that this is the problem though, since my error happens at the very beginning of training, and this change I believe it mainly affects validation. Anyways, this is the error message I got. As you can see, I think that there is no useful message to understand what is going on, only that the exception is happening in thread 4.
Thank you very much for your attention, and apologies for the long and dense message, I hope I was clear enough. Best regards, Vicent Caselles PS: To get the run_training.py function to work, I had to also change |
Is the all the text output you got? Can you please share everything? Usually there is an error message hidden somewhere |
Why not just use |
Hi Fabian, thank you very much for your response. Regarding your questions:
I honestly think that the issue raising the error was a lack of RAM, since I was using a server with a great GPU but terrible RAM (~2 GB or so), so odds are that that was the issue. Thanks again for your time!! Vicent Caselles |
Yeah sounds like it. Are you certain about 2GB? That's year 2000 level of RAM |
Yes, it was the cheapest AWS server with CUDA... It was 4 GB tops. Vicent |
Hi, @FabianIsensee ,
I'm using the example "multithreaded_with_batches.ipynb" to generate my own batch data, however , the RuntimeError as follow:
appeared.
Can you offer me some hint to sovle this?
The text was updated successfully, but these errors were encountered: