Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about the Heterogeneous gcn #7

Open
yomik-js opened this issue Mar 13, 2023 · 1 comment
Open

question about the Heterogeneous gcn #7

yomik-js opened this issue Mar 13, 2023 · 1 comment

Comments

@yomik-js
Copy link

yomik-js commented Mar 13, 2023

dear author, when I read the code, I found that when you construct the inter-class subgraph, you only update by calculating the similarity of each class prototype, without using the described GCN, and I just found an update for the base class category node, do not find the novel class node. Maybe it is my fault for not finding it, but can you help me? thank you very much!!!

@GuangxingHan
Copy link
Owner

Here is the code to invoke the inter-class subgraph. The function ss_edge() has two arguments support_feature_ls and support_cls_list, which are the features and class_ids of the few-shot classes sampled in the current episode. The goal of ss_edge() is to update the support features of these classes using the base classes memory stored in self.support_dict_base.

During meta-training, we only sample few-shot classes from base classes. But during few-shot fine-tuning, we sample few-shot classes from both base and novel classes. In this stage, we would update the novel classes support features using ss_edge().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants