Models

Examples for the Models module offered in Avalanche

Avalanche offers basic support for defining your own models or adapt existing PyTorch models with a particular emphasis on model adaptation over time.

You can find examples related to the models here:

  • Using PyTorchCV pre-trained models: This example shows how to train models provided by pytorchcv with the rehearsal strategy.

  • Use a Multi-Head model: This example trains a Multi-head model on Split MNIST with Elastich Weight Consolidation. Each experience has a different task label, which is used at test time to select the appropriate head.