Skip to content

Expand_as RuntimeError in torch_scatter #4

Description

@tjb-tech

Hi, I am running your code. And I am inheritanting Messagepassing in pytorch_geometric to create my own graph conv, but I face the error below. To be exact, it occurs in function propagate, and I sent edge_index(shape: 2, edge_num) and x (shape: num_node, 128) into propagate. And I try my code on both linux and win. And they occurred the same problems. Note that I use the famous dataset Cora use the code dataset = Planetoid(path, 'Cora', transform=T.NormalizeFeatures())

Linux:
J4U6NM5}) )(0RA2LZBQG8K

Win:
L9~ GBZ1WKSA{{0S1W M08Q

My Environment:
PyG version: 2.0.3
PyTorch version: 1.9.1
OS: Ubuntu x86_64
Python version: 3.8.12
CUDA/cuDNN version: 11.1
How you installed PyTorch and PyG (conda, pip, source): source
Any other relevant information (e.g., version of torch-scatter): torch-scatter: 2.0.9; torch-sparse: 0.6.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions