dytox icon indicating copy to clipboard operation
dytox copied to clipboard

Forgetting metric for first task after learning two tasks is 0

Open Kishaan opened this issue 2 years ago • 3 comments

Hi,

I checked the logs_1.json file created after finishing training on cifar-100 10 tasks and I see forgetting metric to be 0.0. There would be some forgetting for the first task data after learning the second task. I checked the code for calculating this metric and I see the main loop which calculates forgetting metric does not run after learning second task:

for j in range(k - 2): # after learning two tasks, k would be 2 here

I would like to know if this is expected or if this is a bug. Forgetting metric is important for my study. I would like to get it right.

Kishaan avatar Aug 11 '22 14:08 Kishaan

Hum, which continuum version do you have installed?

arthurdouillard avatar Aug 18 '22 15:08 arthurdouillard

1.2.4

Kishaan avatar Aug 22 '22 08:08 Kishaan

To clarify my question, I do get a number for forgetting metric in the log after training 10 tasks, my question is about the forgetting metric after learning the second task.

Kishaan avatar Aug 23 '22 12:08 Kishaan

It's probably worth opening an issue about it in continuum, Timothe lesort can get a look at this.

arthurdouillard avatar Oct 20 '22 11:10 arthurdouillard