joint#

This module contains the implementation of the Joint CL model.

Classes

class models.deprecated.joint.Joint(backbone, loss, args, transform)[source]#

Bases: ContinualModel

The Joint CL model. The model is deprecated, use the option –joint=1 instead combined with the SGD model.

NAME#

joint.

Type:

str

COMPATIBILITY#

the joint model is compabible with class-il, domain-il and task-il scenarios. For a joint model for the general-continual scenario, see the joint_gcl model.

Type:

list

COMPATIBILITY: List[str] = ['class-il', 'domain-il', 'task-il']#
NAME: str = 'joint'#
end_task(dataset)[source]#

This version of joint training simply saves all data from previous tasks and then trains on all data at the end of the last one.

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

This version of joint training does nothing during incremental CL training.

Functions

models.deprecated.joint.get_parser()[source]#

Returns the ArgumentParser object for the joint model.

Return type:

ArgumentParser