Open leoozy opened 2 years ago
Thanks for the attention. Here we reduce the number of nodes by reduce_ratio
so as to reduce the computational cost of distance calculation.
Thanks for the attention. Here we reduce the number of nodes by
reduce_ratio
so as to reduce the computational cost of distance calculation. Thank you for your rapid reply. I also found that your dilation is always set to 1 in your code:min(idx // 4 + 1, max_dilation)
. Does this because you have reduced the nodes by pooling based on reduce_ration? Thank you very much for your precious time!
Dilation is not always 1 since idx
is the layer index in min(idx // 4 + 1, max_dilation)
.
hi @iamhankai I am confused with this line x_j, _ = torch.max(x_j - x_i, -1, keepdim=True)
in MRConv code,
x_j=[b, c, n, k]
is the selected node by computing the distance, after this line x_j=[b, c, n, 1]
. It seems that the MRConv only consider one node with the largest distance?
@PanXiebit The torch.max
is applied at element-wise level, not the vector-wise.
@iamhankai Thanks, I understand!
Thank you very much for your released code for VIG. I spent some time on reading your code carefully. But I am confused about some parts of code, could you please give some hints? @iamhankai
in the code:
What the y stands for? I am really confused about the y as I found y is calculated from x based on the reduce_ratios. But I can not relate y or reduce_ratios to formulars in your VIG or Deep GCN. Could you please give me some advices? Thank you!