Pytorch lightning logging example. pyplot as plt from PIL import Image def __init__ .