ROT MNIST#

Classes#

class datasets.rot_mnist.RotatedMNIST(args)[source]#

Bases: ContinualDataset

The Rotated MNIST dataset.

Parameters:
  • NAME (str) – name of the dataset.

  • SETTING (str) – setting of the dataset.

  • N_CLASSES_PER_TASK (int) – number of classes per task.

  • N_TASKS (int) – number of tasks.

  • N_CLASSES (int) – number of classes.

  • SIZE (tuple) – size of the images.

NAME: str = 'rot-mnist'#
N_CLASSES: int = 200#
N_CLASSES_PER_TASK: int = 10#
N_TASKS: int = 20#
SETTING: str = 'domain-il'#
SIZE: Tuple[int] = (28, 28)#
get_backbone()[source]#
get_batch_size()[source]#
Return type:

int

get_class_names()[source]#
get_data_loaders()[source]#
static get_denormalization_transform()[source]#
get_epochs()[source]#
static get_loss()[source]#
static get_normalization_transform()[source]#
static get_transform()[source]#