IncrementalClassifier model not adapting correctly #1553
-
I'm currently running some tests to learn how to properly use Avalanche in my research. In this test, I try to train a simple MLP with SplitMNIST as follows:
My intention is to acess the model's parameters as I train each experience. However, when I print my model, the number of classification layers is wrong on all experiences. It goes as follows: [5, 6] When it should go 2 by 2 all the way to 10. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Labels are not ordered. So, when the model sees |
Beta Was this translation helpful? Give feedback.
-
I see, thanks! Is there any way around this so I can test it multiple times with random digits per experience without expanding too much of my network? |
Beta Was this translation helpful? Give feedback.
Labels are not ordered. So, when the model sees
[5, 6]
, it expands the classifier to account for 7 classes (0 to 6). Unseen clases (0, 1, 2, 3) are masked by default.