Skip to content

to_hetero fails with ValueError: Cannot generate a graph node #9358

Answered by rusty1s
nilskre asked this question in Q&A
Discussion options

You must be logged in to vote

You would need to use a dummy edge_weight if you wanna use to_hetero. Currently, to_hetero expects that all node types and all edge types share the same format.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@nilskre
Comment options

@nilskre
Comment options

@nilskre
Comment options

@rusty1s
Comment options

Answer selected by nilskre
@emremrah
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants