mixmo.utils.visualize.make_image

mixmo.utils.visualize.make_image(img, mean=None, std=None, normalize=True)[source]

Transform a CIFAR numpy image into a pytorch image (need to swap dimensions)