PERM MNIST#
Classes#
- class datasets.perm_mnist.MyMNIST(root, train=True, transform=None, target_transform=None, download=False)[source]#
Bases:
MNIST
Overrides the MNIST dataset to change the getitem function.
- class datasets.perm_mnist.PermutedMNIST(args)[source]#
Bases:
ContinualDataset
Permuted MNIST Dataset.
Creates a dataset composed by a sequence of tasks, each containing a different permutation of the pixels of the MNIST dataset.
- Parameters: