Code Monkey home page Code Monkey logo

adasnn's People

Contributors

suchun-sv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

yzfxmu

adasnn's Issues

TypeError: __copy__() takes 1 positional argument but 2 were given

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.