snap-stanford / ogb

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

Error when loading ogbn-mag dataset with DglNodePropPredDataset #36

Closed shirinmous closed 4 years ago

shirinmous commented 4 years ago

Hi and thanks for your work, when i use DGL Loader for ogbn-mag I receive this error: raise DGLError('Edge type "{}" does not exist.'.format(etype)) dgl._ffi.base.DGLError: Edge type "paper" does not exist.

image

weihua916 commented 4 years ago

Hi, thanks for noticing the bug, which is just fixed in the master branch. We will update the package this weekend together with other fixes. If you want to give it a try earlier, please install the master branch.

Thanks again for the issue, and my apologies for the mistake.

shirinmous commented 4 years ago

Thank you for fixing.

weihua916 commented 4 years ago

The package has been updated to v1.2.1. The new package version should allow you to work with ogbn-mag in DGL.