Skip to content

Instantly share code, notes, and snippets.

@tomonori-masui
Created September 16, 2022 04:41
Show Gist options
  • Save tomonori-masui/05ca076be6ed31d6bab5177b54695d6d to your computer and use it in GitHub Desktop.
Save tomonori-masui/05ca076be6ed31d6bab5177b54695d6d to your computer and use it in GitHub Desktop.
Loading Cora dataset
from torch_geometric.datasets import Planetoid
dataset = Planetoid(root='/tmp/Cora', name='Cora')
graph = dataset[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment