Closed githwd2016 closed 4 years ago
The bug has been fixed.
The bug has been fixed.
githwd2016 commented on 13 Mar 2020
The bug has been fixed.
I'm sorry, it seems that this issue isn't sloved. In metanet:
def forward(self, support, query, N, K, Q):
In framework:
logits, pred = model(support, query, N_for_train, K, Q * N_for_train + na_rate * Q)
When choose gnn or metanet, the parameter in forward is Q that means Num of instances for each class in the queryset. However, in framework, it passed Q N_for_train + na_rate Q that means total_Q.
Is this issue truly solved? Why the code is still the same?
When choose gnn or metanet, the parameter in forward is Q that means Num of instances for each class in the queryset. However, in framework, it passed Q N_for_train + na_rate Q that means total_Q.