I dont use multiprocessing.  Inside dataloader I need to load large images of different sizes, preprocess them and concatenate sub images extracted from them. For preprocessing I need to calculate average of windows. For that I need to apply pooling.