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

I got error:Failed to convert object of type <type 'instance'> to Tensor. Contents: <models.gat.GAT instance at 0x5fcdea8>. Consider casting elements to a supported type #25

Open 514123661 opened 5 years ago

514123661 commented 5 years ago

Failed to convert object of type <type 'instance'> to Tensor. Contents: <models.gat.GAT instance at 0x5fcdea8>. Consider casting elements to a supported type

lvyougang commented 4 years ago

you need to creat a new object such as model_true=model()