This is mostly likely happening because you are initializing some of the dataloader/transform components in the parent process and trying to pass them down the child processes. Would it be possible to contain all of your dataloading/transformations in the child processes only?
Also, if you have a minimal repro, that would be helpful in debugging this further.