gidariss/FewShotWithoutForgetting

the code problem in your paper : how to get weight_base

Jiawen-huang opened this issue · 0 comments

Dear author

We would like to quote your article. After seeing your code in architectures/ClassifierWithFewShotGenerationModule.

I am a little confused about how the weight_base is obtained in class: Classifier in line 112 and185.

In def s init__(self, opt), only initializations are made.

In def get_classification_weights, I don't know how the weight_base is obtained without passing parameters.

weight_base = torch.FloatTensor(nKall, nFeat).normal_(

weight_base = self.weight_base[Kbase_ids.view(-1)]