avalanche.benchmarks.scenarios.CLExperience

class avalanche.benchmarks.scenarios.CLExperience(current_experience: Optional[int] = None, origin_stream=None)[source]

Base Experience.

Experiences have an index which track the experience’s position inside the stream for evaluation purposes.

__init__(current_experience: Optional[int] = None, origin_stream=None)[source]

Methods

__init__([current_experience, origin_stream])

eval()

Return inference experience.

logging()

Return logging experience.

train()

Return training experience.

Attributes

current_experience

Experience identifier (the position in the origin_stream).

origin_stream

Stream containing the experience.