Giter Club home page Giter Club logo

Comments (10)

AntonioCarta avatar AntonioCarta commented on June 5, 2024 1

This should be enough: https://github.com/ContinualAI/avalanche/blob/master/examples/icarl.py

from continual-learning-baselines.

AndreaCossu avatar AndreaCossu commented on June 5, 2024 1

Hi @qsunyuan , can you please open a new issue? @rudysemola maybe you can help answering?

from continual-learning-baselines.

rudysemola avatar rudysemola commented on June 5, 2024

I gladly try it

from continual-learning-baselines.

qsunyuan avatar qsunyuan commented on June 5, 2024

Hi! sorry to interrupt you.

I reproduced iCarl results (default args), but I cannot achieve the trarget results of 0.62 in this link, even I tried some different random seed.

I would like to know where did the value of avearge-acc 0.62 come from?

https://github.com/ContinualAI/reproducible-continual-learning/blob/eafcb218c08d6e6234799d0171b4a19bd6ac1d89/strategies/target_results.csv#L18

I also checked the original papaer. The last exp top1-test-acc is about 0.49 (amazing!)

image

I tried my own implementation code and the avalanche library. I can't reach such high results. Could u pls give some insights? I'm so confused right now.

Hope to get ur early replay. Thx.

from continual-learning-baselines.

qsunyuan avatar qsunyuan commented on June 5, 2024

Thx for ur quick replay. I will open a new issue.

from continual-learning-baselines.

rudysemola avatar rudysemola commented on June 5, 2024

Hi @qsunyuan.
If I remember well, the last result in the plot shown to you is the accuracy achieved for the last experience (0.49).
The metric used here is the average incremental accuracy defined by the authors in Section 4. (Experiments, Benchmark protocol part).
If you see the image, taken from the paper (Table 1 a), the result achieved in the paper achieved is 0.641 for 10 classes using this definition of the metric, not 0.49.
0.62 was achieved using the same definition in the paper.

image

from continual-learning-baselines.

rudysemola avatar rudysemola commented on June 5, 2024

If you want another similar code to reproduce the results in the paper (near to 0.641) you can use this old code, is basically the same but you never know maybe can work and help you ;)

https://github.com/rudysemola/reproducible-continual-learning/blob/024d26585dc9b3917d8827be376b57dd3b1eaa40/strategies/iCARL/experiment.py

from continual-learning-baselines.

qsunyuan avatar qsunyuan commented on June 5, 2024

Thx for ur help. It really helps me a lot. I will try the codes right now.
Thx again. Best wishes. Have a good day.

from continual-learning-baselines.

qsunyuan avatar qsunyuan commented on June 5, 2024

I tried ur link @rudysemola and this one https://github.com/ContinualAI/avalanche/blob/master/examples/icarl.py

I achieved a result of about 0.62.

Unfortunately I also did not achieve the result of 0.64.

from continual-learning-baselines.

AndreaCossu avatar AndreaCossu commented on June 5, 2024

Hi :) Minor changes in the performance with respect to the original paper are often due to slightly different training modalities (e.g. learning rate scheduler) which are not always easy to investigate or are not disclose in the paper. Therefore, as a policy, we allow for a 2% slack in accuracy during tests. Our target result for iCarl is 0.62. If you manage to close this gap, please let us know!

from continual-learning-baselines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.