in which case I should use the monai.dataloader
instead of torch.dataloader
??
#1386
-
As we all know, pytorch has its own dataloader already. I found that monai also have a dataloader which inherate the original pytorch dataloader. The relative code is:
I know a new What I do not know is:
Or could you tell me in which case I should use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should stick to MONAI's |
Beta Was this translation helpful? Give feedback.
You should stick to MONAI's
DataLoader
if you have the choice. The things that have been changed are to ensure random number generation is reproducible. If that's not important to you then it probably won't matter which you use.