RuntimeError: DataLoader worker exited unexpectedly #5408
Unanswered
matteo-bastico
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Hi @matteo-bastico, can you try to set |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the CT-ORG dataset for segmentation of organs (https://wiki.cancerimagingarchive.net/display/Public/CT-ORG%3A+CT+volumes+with+multiple+organ+segmentations). After some training iterations, I have the following error:
I tried to use different number of workers and batch sizes, dataloader with and without cache, persistent_worker and pin_memory. In any case I get the same error or the execution is just killed when the number of workers is 0.
I thought the problem was related to the following warning on the data loading
pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1but after fixing the NIfTI headers, the training still doesn't work.
Furthermore, running the code on Google Colab Pro I have several
tcmalloc: large allocwarnings. I also tried the training with other datasets and it always worked correctly. Is therefore the problem related only to the large size of the input volumes or there is another way to solve it?Thank you for the help!
Beta Was this translation helpful? Give feedback.
All reactions