Comments (6)
I guess you are using a higher version of torch or torch_geometric. This can be fixed by removing
pos = p,
in Line 55 of ba3motif_dataset.py
.
Hope that works.
from refine.
Btw it won't affect the training, it just removes the position for visualization, which will be re-generated in the visulization function of Base Explainer.
from refine.
Thanks for your reply, my issue has been solved.
My torch verison is 1.11.0, and pyg version is 2.0.4.
from refine.
from refine.
Replacing line 225 in base.py
as
pos = nx.kamada_kawai_layout(G)
will be fine. Or you can find some suitable layout functions in https://networkx.org/documentation/stable/reference/drawing.html
I will update the code later to handle this issue.
from refine.
from refine.
Related Issues (17)
- Advising the hyperparameters for training GIN for Mutagenicity HOT 4
- Advising ACC-AUC metrics in the paper HOT 1
- Explainer code HOT 1
- Missed param/filtered directory HOT 12
- ReFine training HOT 9
- ReFine training on other GNNs
- Strange behavior with randomness HOT 4
- If ReFine can explain heterogeneous graph models? HOT 2
- How to construct VG-5 Dataset. HOT 2
- Question about the EdgeMask HOT 4
- How to deal with HeteroData objects in ReFine? HOT 3
- Performance of backbone GNN HOT 1
- Performance of other baseline methods HOT 2
- ACC-AUC on BA3-Motif HOT 2
- When test dataset no label, how refine will predict? HOT 2
- Failed to reproduce the results on Mutag dataset 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 refine.