Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result for 'scenario = class' #6

Closed
leatherking opened this issue Jan 14, 2021 · 2 comments
Closed

result for 'scenario = class' #6

leatherking opened this issue Jan 14, 2021 · 2 comments

Comments

@leatherking
Copy link

Hi, I am learning on your codes for a week and I have run several experiments so far. I have some questions.

  1. The setting of 'scenario='task'' works well, but the other one of 'scenario=class' is what I am confused with :
    For example, if I set a setting: 'expri..=splitMNIST, tasks=5, scenario=class ' , the result is "-task1: xx. xx -task2: xx. xx task3: xx. xx -task4: xx. xx -task5: xx. xx". I don't understand what it means as the result format is the same with 'scenario=task'. Does the classifier uses single-head or multi-head for class-IL ?

  2. In my experiments, EWC, SI, LwF had no effect on class-IL , all forgot. Is it normal?

Best regard

@GMvandeVen
Copy link
Owner

1.) The use of the term ‘task’ in the class-incremental learning scenario is indeed confusing; the term ‘episode’ would be more appropriate.
The results that are printed to the screen at the end of training are indeed for the Class-IL scenario (i.e., using a single-head classifier). For example, the reported accuracy for “task 1” is the average accuracy of the final model for the test data from task 1 (e.g., all the test samples that are ‘0’s and ‘1’s for split-MNIST), but whereby the model had to choose between all possible classes (e.g., a 10-way classification for split-MNIST).

2.) Yes, that EWC, SI and LwF have almost no effect when they are trained and evaluated according the Class-IL scenario is indeed what I would expect. That’s what I found as well.

Hope this helps!

@leatherking
Copy link
Author

Many thanks for you! It helps a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants