pinocchio:

Should I be sampling data-loaders instead of initializing them on the fly in the collate function?


I’m not sure I understand the use case completely.
Are you using an “outside” DataLoader with a custom collate_fn, where you are creating additional DataLoaders?
If so, what the use case and why do you need to initialize DataLoaders inside a DataLoader?