Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error of data size when running the demo #1

Open
TianH98 opened this issue Jun 2, 2023 · 1 comment
Open

Error of data size when running the demo #1

TianH98 opened this issue Jun 2, 2023 · 1 comment

Comments

@TianH98
Copy link

TianH98 commented Jun 2, 2023

Dear author of MepoGNN:

I'm trying to run the demo code. Hoewever I received an error "RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [32, 32, 47, 15]". Could you please help to take a look and modify your code?

Thank you very much:)

@ccqq77
Copy link
Collaborator

ccqq77 commented Jun 5, 2023

@TianH98 Thank you for your interest. Sorry for the late reply.
I have run the code in my environment and it seems work without errors.
The error you met might be caused by the version differences of pytorch. The code is implemented with pytorch 1.9.0. If you used other versions of pytorch, the minor modifications of code might be needed.
(Possible solution: conv1d -> conv2d.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants