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

为什么运行eval.py会报错 RuntimeError: The expanded size of the tensor (16) must match the existing size (11600) at non-singleton dimension 2. Target sizes: [11600, 8, 16]. Tensor sizes: [1, 1, 11600] #4

Open
darkcorvushhh opened this issue Oct 16, 2024 · 1 comment

Comments

@darkcorvushhh
Copy link

如题,
image

@EDAPINENUT
Copy link
Owner

您可以查询scatter中message, index的shape。 看起来是其中的tensor sizes dim=2处没有与前一个的dim=0没有成功对齐。
在torch geometric等软件包的版本都符合的情况下, 我测试过这份代码,没有遇到类似的问题。

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