avalanche.training.FeatureBasedExemplarsSelectionStrategy

class avalanche.training.FeatureBasedExemplarsSelectionStrategy(model: Module, layer_name: str)[source]

Base class to select exemplars from their features

__init__(model: Module, layer_name: str)[source]

Methods

__init__(model, layer_name)

make_sorted_indices(strategy, data)

Should return the sorted list of indices to keep as exemplars.

make_sorted_indices_from_features(features)

Should return the sorted list of indices to keep as exemplars.