Skip to content

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

@Jiawen-huang

Description

@Jiawen-huang

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)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions