Closed LukeLIN-web closed 1 year ago
I try to load ogbn products
from ogb.nodeproppred import PygNodePropPredDataset root = "/data/" dataset = PygNodePropPredDataset(name = "ogbn-products",root=root) print(dataset) data = dataset[0]
It shows
Downloading http://snap.stanford.edu/ogb/data/nodeproppred/products.zip Downloaded 1.38 GB: 100%|█████████████████████████████████| 1414/1414 [11:18<00:00, 2.09it/s] Extracting /data/products.zip Processing... Loading necessary files... This might take a while. Processing graphs... 100%|███████████████████████████████████████████████████| 1/1 [00:03<00:00, 3.87s/it] Converting graphs into PyG objects... 100%|█████████████████████████████████████████████████| 1/1 [00:00<00:00, 3144.16it/s] Saving... Done! PygNodePropPredDataset() Traceback (most recent call last): File "microbatch__quiver_base.py", line 152, in <module> train(data, quiver_feature, quiver_sampler, dataset, args) File "microbatch__quiver_base.py", line 26, in train if args.dataset == 'ogbn-products': AttributeError: 'Namespace' object has no attribute 'dataset'
I try to load ogbn products
It shows