gidariss / FewShotWithoutForgetting

MIT License
519 stars 110 forks source link

the code problem in your paper : how to get weight_base #28

Open Jiawen-huang opened 4 years ago

Jiawen-huang commented 4 years ago

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