PetarV- / GAT

Graph Attention Networks (https://arxiv.org/abs/1710.10903)
https://petar-v.com/GAT/
MIT License
3.18k stars 642 forks source link

How to run example by execute_cora.py ? #10

Closed Leonardo711 closed 5 years ago

Leonardo711 commented 5 years ago

I've tried to run "python execute_cora.py", and it throws an error: "

Traceback (most recent call last): File "execute_cora.py", line 70, in residual=residual, activation=nonlinearity) TypeError: unbound method inference() must be called with GAT instance as first argument (got Tensor instance instead) " after tried to change line 22 : model = GAT(), it throws another error: Traceback (most recent call last): File "execute_cora.py", line 70, in residual=residual, activation=nonlinearity) TypeError: inference() got multiple values for keyword argument 'bias_mat'

Leonardo711 commented 5 years ago

I saw another issue #2