FewShotWithoutForgetting icon indicating copy to clipboard operation
FewShotWithoutForgetting copied to clipboard

the code problem in your paper : how to get weight_base

Open Jiawen-huang opened this issue 6 years ago • 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. https://github.com/gidariss/FewShotWithoutForgetting/blob/0efdc78ceddf2395b5b0bef4f789f9d63c761b9b/architectures/ClassifierWithFewShotGenerationModule.py#L112

https://github.com/gidariss/FewShotWithoutForgetting/blob/0efdc78ceddf2395b5b0bef4f789f9d63c761b9b/architectures/ClassifierWithFewShotGenerationModule.py#L185

Jiawen-huang avatar Mar 01 '20 15:03 Jiawen-huang