Closed AnonymousDataCodeHub closed 8 months ago
Thanks for pointing it out. As per Eq. 5 in the original paper, the first $A_{ij}$ represents that only the positive edges should be counted in the loss function. I have fixed the error in num_neigh
. It should work now. If you have any further questions, feel free to let us know :)
I believe it is caused by
a_[edge_index[0], edge_index[1]]
. However, the shape ofedge_index
is[2,0]
due to the usage ofNeighborLoader
withnum_neigh= 0
inbase.py
, even when the batch size is either 0 or any other number.Therefore,
a_[edge_index[0], edge_index[1]]
should be changed toa_
.