Solved by ptrblck in post #2 
              
              
                If you want to visualize the PIL.Image after each transformation, you could create a custom transformation and call e.g. img.show() (or use any other library to plot the image): 
class Visualize(object):
    def __call__(self, img):
        img.show()
        return img
        
spatial_transform = …