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

Import error PygGraphPropPredDataset #340

Closed sungeun532 closed 1 year ago

sungeun532 commented 2 years ago

hi, i want to use data from ogb, but cannot import PygNodePropPredDataset.. (can import NodePropPredDataset), and cannot find any solution,,, is there any solution about this?

rusty1s commented 2 years ago

Please see https://github.com/snap-stanford/ogb/issues/322.

sungeun532 commented 2 years ago

Please see #322.

thank you, i chekced and tried changing bothe the version of torch-geometric and ogb, but it still doesn't work out. This is my pip list, do you see any problmetic elements?

Package Version


absl-py 0.15.0 apturl 0.5.2 argh 0.26.2 ase 3.22.1 astor 0.8.1 astunparse 1.6.3 backcall 0.2.0 beautifulsoup4 4.4.1 blinker 1.3 Brlapi 0.6.4 cached-property 1.5.2 cachetools 4.2.4 certifi 2021.10.8 chardet 2.3.0 charset-normalizer 2.0.12 checkbox-support 0.22 clang 5.0 cloudpickle 2.0.0 command-not-found 0.3 cryptography 1.2.3 cycler 0.10.0 dataclasses 0.8 decorator 4.4.2 defer 1.0.6 feedparser 5.1.3 flatbuffers 1.12 gast 0.4.0 gitdb 4.0.9 GitPython 3.1.18 google-auth 1.35.0 google-auth-oauthlib 0.4.6 google-pasta 0.2.0 googledrivedownloader 0.4 grpcio 1.46.1 guacamole 0.9.2 h5py 3.1.0 httplib2 0.9.1 idna 3.3 imbalanced-learn 0.8.1 imblearn 0.0 importlib-metadata 4.8.3 ipython 7.16.3 ipython-genutils 0.2.0 isodate 0.6.1 jedi 0.17.2 Jinja2 2.8 joblib 1.0.1 jsonpickle 2.2.0 keras 2.6.0 Keras-Applications 1.0.8 Keras-Preprocessing 1.1.2 kiwisolver 1.3.1 labml 0.4.152 language-selector 0.1 littleutils 0.2.2 llvmlite 0.36.0 louis 2.6.4 lxml 3.5.0 Mako 1.0.3 Markdown 3.3.7 MarkupSafe 0.23 matplotlib 3.3.4 ml-helper 0.0.23 mock 4.0.3 mpi4py 3.1.0a0 networks 0.3.7 networkx 2.5.1 numba 0.53.1 numpy 1.19.5 oauthlib 3.2.0 ogb 1.2.1 onboard 1.2.0 opt-einsum 3.3.0 outdated 0.2.1 packaging 21.3 padme 1.1.1 pandas 1.1.5 parso 0.7.1 pexpect 4.0.1 pickleshare 0.7.5 Pillow 8.3.1 pip 21.3.1 pkgtools 0.7.3 plainbox 0.25 prompt-toolkit 3.0.28 protobuf 3.19.4 psutil 5.9.0 ptyprocess 0.5 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycups 1.9.73 pycurl 7.43.0 pyg 0.7.1 Pygments 2.11.2 PyGObject 3.20.0 PyJWT 1.3.0 pyparsing 2.0.3 python-apt 1.1.0b1+ubuntu0.16.4.11 python-dateutil 2.8.2 python-debian 0.1.27 python-louvain 0.16 python-systemd 231 pytz 2021.1 pyxdg 0.25 PyYAML 6.0 rdflib 5.0.0 reportlab 3.3.0 requests 2.27.1 requests-oauthlib 1.3.1 rsa 4.8 scikit-learn 0.24.2 scipy 1.5.4 screen-resolution-extra 0.0.0 seaborn 0.11.2 sessioninstaller 0.0.0 setuptools 59.6.0 shap 0.40.0 six 1.15.0 slicer 0.0.7 smmap 5.0.0 ssh-import-id 5.5 system-service 0.3 tensorboard 1.13.1 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorflow 1.13.1 tensorflow-estimator 1.13.0 termcolor 1.1.0 threadpoolctl 2.2.0 torch 1.9.0 torch-geometric 2.0.3 torchaudio 0.10.1 torchvision 0.10.0 tqdm 4.62.0 traitlets 4.3.3 typing-extensions 3.7.4.3 ubuntu-drivers-common 0.0.0 ufw 0.35 unattended-upgrades 0.1 unity-scope-calculator 0.1 unity-scope-chromiumbookmarks 0.1 unity-scope-colourlovers 0.1 unity-scope-devhelp 0.1 unity-scope-firefoxbookmarks 0.1 unity-scope-gdrive 0.7 unity-scope-manpages 0.1 unity-scope-openclipart 0.1 unity-scope-texdoc 0.1 unity-scope-tomboy 0.1 unity-scope-virtualbox 0.1 unity-scope-yelp 0.1 unity-scope-zotero 0.1 urllib3 1.26.9 usb-creator 0.3.0 vecstack 0.4.0 wcwidth 0.2.5 Werkzeug 2.0.3 wheel 0.37.1 wrapt 1.12.1 xdiagnose 3.8.4.1 xkit 0.0.0 XlsxWriter 0.7.3 yacs 0.1.8 zipp 3.6.0

Saydemr commented 2 years ago

Could you check #35 and #115 . Also sharing a screenshot of the error would be helpful.