Comments (6)
Thanks for your interest in our work.
For Q1: Nothing different. I forget to merge these two lines while cleaning the code.
For Q2: The original version is here. In mnemonics training, this function is just let the image pass the model.
For Q3: Yes.
from class-incremental-learning.
Hi, Thanks for your clarification. It helps a lot.
Pardon me for raising another question.
I assume that line 325-373 in mnemonics.py
is the 'meta-level' optimazaion, corresponding to formula (7a), (7b), (8), (9), (10a), (10b) in the paper. Is that correct?
However, In my opinion, line 325-373 is just doing things below.
- Make example set trainable. line 325-326
- Pass through image batch (sample from dataset
$D_i$ ) into the model and getq_feature
. line 343-346 - Pass through sample image batch to the model and get
all_cls_means
. - Calculate cross entropy loss.
In conclusion, turn example set trainable and apply it on the cross entropy loss. I don't find any code corresponding to formula (7b), i.e, train$\theta_i$ on$E_i$ .
Please enlighten me about this.
Also, I can't find any code about “fine-tuning models on only exemplars” as shown in Line 18 in algorithm 1 in the paper.
from class-incremental-learning.
The code for “fine-tuning models on only exemplars” is here:
from class-incremental-learning.
Thanks for your early reply.
I am sorry for not reading your code completely. Thanks for pointing out.
What about another question?
I don't find any code corresponding to formula (7b), i.e, train
$\theta_i$ on$E_i$ .
Sorry to bother you again. Thanks.
from class-incremental-learning.
This part is related to Lines 349-369 in mnemonics.py.
To speed up the training, the inner loop is replaced by a prototype classifier in the current version.
from class-incremental-learning.
Thanks for your explanation.
I am closing this issue now.
Best regards.
from class-incremental-learning.
Related Issues (20)
- Where ImageNet images resized such that the smaller dimension is 256? HOT 4
- runs the code in mini-imagenet HOT 1
- How are the hyperparameters tuned? HOT 1
- Paper uses dynamic budget, but repository recommends fixed? HOT 2
- Question about exemplar selection code HOT 2
- Running errors HOT 3
- ValueError: signal number 32 out of range HOT 1
- This is a very strange question HOT 1
- some bugs HOT 3
- Code for T-SNE in the mnemonics paper HOT 4
- `BaseTrainer.init_current_phase_dataset` returning two `Y_valid_cumuls` HOT 2
- question about `modified_linear.py` HOT 2
- size of trainloader HOT 4
- training problem HOT 9
- Inquiries about the comparison between mnemonics and baseline HOT 2
- Kindly explain a little about the results terms and accuracy matching HOT 8
- PODNET-AAN Related experiment running issue! HOT 4
- Save model in PODNET repo HOT 1
- About initializing learnable parame φi and ηi HOT 4
- training hyperparamters for imagenet1000? HOT 2
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.
from class-incremental-learning.