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

cannot import name 'PCQM4Mv2Dataset' from 'ogb.lsc' #363

Closed 0piero closed 1 year ago

0piero commented 1 year ago

from ogb.lsc import PCQM4Mv2Dataset

I have installed torch 1.11, rdkit 2022.03.5 and ogb 1.3.4

weihua916 commented 1 year ago

Interesting. I'd suggest you to replace these lines with

from .pcqm4mv2 import PCQM4Mv2Dataset, PCQM4Mv2Evaluator

and see the detailed error. Most likely, some library is missing or not properly installed.

0piero commented 1 year ago

I already got it, really dont know why i wasnt able to use this one, maybe it was what you've said. Thanks btw.