gear's People
gear's Issues
German
Hi, May I ask why german dataset isn't used for calculating the counterfactual fairness subgraph and used for comparing the performance of node representation learning methods with respect to prediction and fairness?
A bug caused by incompatible versions of PyG & torch_scatter
Hi.
When reproducing your work, I came across a bug:
RuntimeError: scatter_mean() expected at most 5 argument(s) but received 6 argument(s)
I've fixed this and am writing this issue in case someone else come across the same bug.
Reason:
I found out this is caused by incompatible versions of PyG & torch_scatter.
Since you are using Pytorch 1.6.0, the only compatible versions of torch_scatter are 2.0.5 & 2.0.6 according to https://data.pyg.org/whl/, yet neither of these versions is compatible with PyG 1.3.0. To be specific, when using torch_scatter, PyG 1.3.0 calls function scatter_...(mean/add/...) with 6 arguments. However, in torch_scatter 2.0.5/2.0.6 the corresponding function is defined only with 5 arguments.
Solution:
(1) Using earlier versions of torch_scatter( and earlier versions of Pytorch since they depend on each other) or
(2) using later versions of PyG
will work. I change my PyG to 1.4.1 and the problem is fixed.
Thanks for the great work!
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.