implementation-of-learning-without-forgetting-for-multi-class's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.