this looks like something you can integrate into.

  
      
      GitHub
  
  
    

ncullen93/torchsample 278

High-Level Training, Data Augmentation, and Utilities for Pytorch - ncullen93/torchsample