Datasets:
OGB
/

Modalities:
Text
Formats:
json
Libraries:
Datasets
pandas
License:
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -49,9 +49,9 @@ from datasets import load_dataset
49
  from torch_geometric.data import Data
50
  from torch_geometric.loader import DataLoader
51
 
52
- graphs_dataset = load_dataset("graphs-datasets/ogbg-code2)
53
  # For the train set (replace by valid or test as needed)
54
- graphs_list = [Data(graph) for graph in graphs_dataset["train"]]
55
  graphs_pygeometric = DataLoader(graph_list)
56
 
57
  ```
 
49
  from torch_geometric.data import Data
50
  from torch_geometric.loader import DataLoader
51
 
52
+ graphs_dataset = load_dataset("graphs-datasets/ogbg-code2")
53
  # For the train set (replace by valid or test as needed)
54
+ graph_list = [Data(graph) for graph in graphs_dataset["train"]]
55
  graphs_pygeometric = DataLoader(graph_list)
56
 
57
  ```