load data with a 'CustomLoadImaged' but error occurs when using 'num_works' #2435
Unanswered
ChenchenHu007
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @ChenchenHu007 , Thanks very much for your bug report. Thanks. |
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
-
hi, everyone. I am a beginner of Monai.
I want to load data using SimpleITK, but the Monai does not support it.
So a CustomLoadImaged is defined:
the dataset, loader and its transforms are defined as follow:
when I iterated the loader, I printed how many iterations in it like this. it works.
However, when I added num_workers=2 in the train_loader, a problem occurred.
---------------------------------------------------------------------------
I can't solve this problem. Would anyone can help me ?
Here is my monai config:
Beta Was this translation helpful? Give feedback.
All reactions