Comments (5)
Hi @Andy5250
I think this is how it's done in the original implementation. But if both are the same, shouldn't change anything.
Best,
from pygat.
Hi Diego,
Thank you so much for the code! In layers.py this line (edge = adj.nonzero().t()) says AttributeError: 'Tensor' object has no attribute 'sparse'. How can I get rid of it?
from pygat.
Did you check your version of pytorch ?
from pygat.
It is '1.0.0'.
from pygat.
Ok I think the API might have changed since. I don't have time to fix it but a PR is welcome ;-)
from pygat.
Related Issues (20)
- according to the definition of softmax this line maybe wrong HOT 1
- Model instability
- How to implement batch training? HOT 24
- How to implement the GAT model to a regression problem? **Particularly the design of labels**
- Getting this error!
- transform to other scope dataset
- How to visualize the learned Attention?
- The result score is acc=84.6
- The bias is not necessary?
- code question HOT 1
- Why use plural title?
- Expected object of type torch.cuda.LongTensor but found type torch.LongTensor for argument #1 'indices'
- Parameter containing nan
- can GAT convert to caffemodel?
- runtime error HOT 1
- About DataParallel , multi gpu
- Why batch training? HOT 2
- error HOT 1
- How to apply this model to extract graph features from multiple graphs? HOT 3
- pyGAT?pyG GAT? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygat.