Coder Social home page Coder Social logo

Comments (5)

nnzhan avatar nnzhan commented on August 14, 2024

Hi thanks for your comment, I think you are right. After further investigation, I will correct it.

from mtgnn.

ntubiolin avatar ntubiolin commented on August 14, 2024

OK, thanks!

from mtgnn.

lorrp1 avatar lorrp1 commented on August 14, 2024

@ntubiolin @nnzhan hello, im getting this error:

return _VF.einsum(equation, operands)
RuntimeError: size of dimension does not match previous size, operand 1, dim 0

in

 MTGNN-master/layer.py", line 14, in forward
    x = torch.einsum('ncvl,vw->ncwl',(x,A))

have you got any idea on how i could solve it?

from mtgnn.

nnzhan avatar nnzhan commented on August 14, 2024

@lorrp1 Can you print out the shape of X and A?

from mtgnn.

zhp66 avatar zhp66 commented on August 14, 2024

@ntubiolin @nnzhan Hello,I had the same problem
return torch._C._VariableFunctions.einsum(equation, operands) RuntimeError: size of dimension does not match previous size, operand 1, dim 1
in
MTGNN-master/layer.py", line 14, in forward x = torch.einsum('ncvl,vw->ncwl',(x,A))
and I printed out the shapes of X and A
torch.Size([64, 32, 206, 13]) torch.Size([207, 207])
I'm using the METR-LA dataset

from mtgnn.

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.