seongjunyun/Graph_Transformer_Networks

weight in GTConv is alwasy the same

Closed this issue · 1 comments

When I print weight in GTConv (Actually I print Ws in GTN), I find it is always [[0.2, 0.2, 0.2, 0.2, 0.2], [0.2, 0.2, 0.2, 0.2, 0.2]], seems like it never updates. Why would this happen?

I'm sorry that there is already a solution. Click Here for details. Thanks @changym3 so much!
BTW, the torch-geometric version cannot be 1.4.3. I met another problem and it is solved after I reinstalled torch-geometric==1.4.2