Giter VIP home page Giter VIP logo

implementation-of-learning-without-forgetting-for-multi-class's People

Contributors

drsad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

implementation-of-learning-without-forgetting-for-multi-class's Issues

Where is the use of knowledge distillation loss?

Based on the original LwF paper, kd loss should be used. Also, there should be a temperature factor to control the loss.
However, I can't find the temperature variable from your program. May you explain how you implement the knowledge distillation loss?

Adding new dataset as Tasks.

I need to ask if i can use new data set every task..

like:
training for task 1 CIFAR10 (10 classes) : total 10 classes
training for task 2 MNIST (10 classes) : total 10+10=20 classes
training for task 3 SVHN (10 classes) : total 20+10=30 classes

Thanks in advance.

issue in execution

I'm have following error in execution

AttributeError Traceback (most recent call last)

in ()
14
15 for i in range(10):
---> 16 model.beforeTrain()
17 accuracy=model.train()
18 model.afterTrain(accuracy)

/content/LwF.py in beforeTrain(self)
52 def beforeTrain(self):
53 self.model.eval()
---> 54 classes=[self.numclass-self.task_size,self.numclass]
55 self.train_loader,self.test_loader=self._get_train_and_test_dataloader(classes)
56 if self.numclass>self.task_size:

AttributeError: 'LwFmodel' object has no attribute 'task_size'

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.