  We created a custom pipeline (histo-fetch) to efficiently extract random
patches and labels from pathology whole slide images (WSIs) for input to a
neural network on-the-fly. We prefetch these patches as needed during network
training, avoiding the need for WSI preparation such as chopping/tiling. We
demonstrate the utility of this pipeline to perform artificial stain transfer
and image generation using the popular networks CycleGAN and ProGAN,
respectively.
