Skip to content
Discussion options

You must be logged in to vote

Yeah the last few nodes might be isolated. contains_isolated_nodes(dataset.data.edge_index) will return False in that case. Try running contains_isolated_nodes(dataset.data.edge_index, dataset.data.num_nodes) this should return True.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kam6ri
Comment options

@rusty1s
Comment options

@kam6ri
Comment options

@rusty1s
Comment options

Answer selected by kam6ri
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