RPC#

Arguments#

Rehearsal arguments

Arguments shared by all rehearsal-based methods.

--buffer_sizeint

Help: The size of the memory buffer.

  • Default: None

--minibatch_sizeint

Help: The batch size of the memory buffer.

  • Default: None

Classes#

class models.rpc.RPC(backbone, loss, args, transform, dataset=None)[source]#

Bases: ContinualModel

Regular Polytope Classifier.

COMPATIBILITY: List[str] = ['class-il', 'task-il']#
NAME: str = 'rpc'#
end_task(dataset)[source]#
forward(x)[source]#
static get_parser(parser)[source]#
Return type:

ArgumentParser

observe(inputs, labels, not_aug_inputs, epoch=None)[source]#

Functions#

models.rpc.dsimplex(num_classes=10)[source]#