snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 397 forks source link

Process finished with exit code 134 #323

Closed LspongebobJH closed 1 year ago

LspongebobJH commented 2 years ago

Hi! When I import ogb package like from ogb.nodeproppred import DglNodePropPredDataset, I get an error:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

The same happens when I import other packages of ogb including PygNodePropPredDataset, etc.

packages: PyTorch, 1.11.0 Python, 3.7.10 OGB, 1.3.3

weihua916 commented 2 years ago

Hi! I do not think the error is related to the ogb package, because our package is written in pure Python. Can you make sure your other packages (such as torch_geometric and torch) are installed appropriately? For example, when you do import torch_geometric, does it run properly?