sgd#

This module implements the simplest form of incremental training, i.e., finetuning.

Classes

class models.sgd.Sgd(backbone, loss, args, transform)[source]#

Bases: ContinualModel

Implementation of the Sgd model for continual learning.

COMPATIBILITY: List[str] = ['class-il', 'domain-il', 'task-il', 'general-continual']#
NAME: str = 'sgd'#
static get_parser()[source]#
Return type:

ArgumentParser

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

SGD trains on the current task using the data provided, with no countermeasures to avoid forgetting.