Skip to content

[BasicTasks_pytorch.ipynb] Run time error: Expected type graph.Graph but get graph.HeteroGraph #6

@jianjindong

Description

@jianjindong

Hi there, when I ran the BasicTasks_pytorch, everything is working well just except the last code block.
The error I got is as below:
DGLError: [23:05:38] /opt/dgl/include/dgl/packed_func_ext.h:117: Check failed: ObjectTypeChecker::Check(sptr.get()): Expected type graph.Graph but get graph.HeteroGraph
Do you know where it goes wrong?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions