ringbdstack / adasnn Goto Github PK
View Code? Open in Web Editor NEWCode for "Adaptive Subgraph Neural Network with Reinforced Critical Structure Mining"
Code for "Adaptive Subgraph Neural Network with Reinforced Critical Structure Mining"
I'm experiencing an error while running "python main.py --dataset MUTAG --lr 0.01", and I've ensured that my environment strictly adheres to the requirements specified in requirements.txt. However, I'm still unsure if there might be an issue with the environment.
MUTAG(188)
MUTAG: max_size:28 min_size:10 avg_size:17.930851063829788 node_label:7
============================0/10==================================
Traceback (most recent call last):
File "/root/.pycharm_helpers/pydev/pydevd.py", line 1496, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/root/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/nlp/root/AdaSNN/main.py", line 311, in
main()
File "/nlp/root/AdaSNN/main.py", line 308, in main
train_GNN(args, k_fold, graphs, metric_saver)
File "/nlp/root/AdaSNN/main.py", line 207, in train_GNN
train_dataset = graphs[train_idx]
File "/root/miniconda3/envs/py36/lib/python3.6/site-packages/torch_geometric/data/dataset.py", line 203, in getitem
return self.index_select(idx)
File "/root/miniconda3/envs/py36/lib/python3.6/site-packages/torch_geometric/data/dataset.py", line 216, in index_select
return self.index_select(idx.flatten().tolist())
File "/root/miniconda3/envs/py36/lib/python3.6/site-packages/torch_geometric/data/dataset.py", line 238, in index_select
dataset = copy.copy(self)
File "/root/miniconda3/envs/py36/lib/python3.6/copy.py", line 88, in copy
return copier(x)
TypeError: copy() takes 1 positional argument but 2 were given
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.