Giter Site home page Giter Site logo

Comments (3)

weihua916 avatar weihua916 commented on June 15, 2024

Seems to be related to this issue: #14

from pretrain-gnns.

gr986 avatar gr986 commented on June 15, 2024

Now, I have a new question:

Traceback (most recent call last):
File "D:/g/project/Expression2graph/learndxs/S_Pretra/my_pretrain_combine.py", line 309, in
main()
File "D:/g/project/Expression2graph/learndxs/S_Pretra/my_pretrain_combine.py", line 299, in main
train_loss, train_acc_node = train(args, model_list, loader, optimizer_list, device)
File "D:/g/project/Expression2graph/learndxs/S_Pretra/my_pretrain_combine.py", line 55, in train
node_rep = model(batch.x, batch.edge_index, batch.edge_attr)
File "C:\Users\11708\Desktop\minikangda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "D:\g\project\Expression2graph\learndxs\S_Pretra\my_model.py", line 290, in forward
h = self.gnns[layer](h_list[layer], edge_index, edge_attr)
File "C:\Users\11708\Desktop\minikangda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "D:\g\project\Expression2graph\learndxs\S_Pretra\my_model.py", line 54, in forward
return self.propagate(edge_index, x=x, edge_attr=edge_embeddings)
TypeError: propagate() missing 1 required positional argument: 'edge_index'

from pretrain-gnns.

funihang avatar funihang commented on June 15, 2024

Hello,

Have you solved your first problem yet? I tried the method in #14 but still cannot solve it. Do you have any suggestions?

from pretrain-gnns.

Related Issues (20)

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.