Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DglPCQM4MDataset ImportError for inference #10

Open
jadolfbr opened this issue Aug 19, 2022 · 5 comments
Open

DglPCQM4MDataset ImportError for inference #10

jadolfbr opened this issue Aug 19, 2022 · 5 comments

Comments

@jadolfbr
Copy link

Hello!

Hope you are well! When I run inference on the included example, I get the following error:

ImportError: cannot import name 'DglPCQM4MDataset' from 'ogb.lsc' 

obg is installed and is version 1.3.3. Any thoughts as to why this error would occur?
Thanks.

@DCoupry
Copy link

DCoupry commented Sep 16, 2022

I concur. I think there's need to update the repo to newer library versions if possible: quite a few mismatches in the environment yaml file.
e.g: dgl needs the dglteam channel, pytorch needs the pytorch channel, pytorch-geometric needs the pyg channel and has been renamed pyg, etc.
If you manage to get it to work, please update the repo ASAP: quite interested in this!

@IanevskiAleksandr
Copy link

Hello!

Hope you are well! When I run inference on the included example, I get the following error:

ImportError: cannot import name 'DglPCQM4MDataset' from 'ogb.lsc' 

obg is installed and is version 1.3.3. Any thoughts as to why this error would occur? Thanks.

The same thing. Only using python 3.6 worked. Idk why

@wderekjones
Copy link

I'm also getting this issue fyi. If someone who solved it could post their environment.yml that would be much appreciated!

@Yu-Xin-Qiu
Copy link

Hello, may I ask whether your problem has been solved now? I also have the same problem

@quangnguyenbn99
Copy link

quangnguyenbn99 commented Sep 27, 2023

The problem comes from the conflict between pytorch and ogb dataset libs. This is my evironment
environment1.txt

@quangnguyenbn99 quangnguyenbn99 mentioned this issue Oct 12, 2023
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants