spyrit.misc.statistics.data_loaders_stl10
- spyrit.misc.statistics.data_loaders_stl10(data_root, img_size=64, batch_size=512, seed=7, shuffle=False, download=True, normalize=True)[source]
- Args:
shuffle=True to shuffle train set only (test set not shuffled)
The output of torchvision datasets are PILImage images in the range [0, 1]. We transform them to Tensors in the range [-1, 1]. Also RGB images are converted into grayscale images.