SI#

Arguments#

Options

--cfloat

Help: surrogate loss weight parameter c

  • Default: None

--xifloat

Help: xi parameter for EWC online

  • Default: None

Classes#

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

Bases: ContinualModel

Continual Learning Through Synaptic Intelligence.

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

ArgumentParser

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