3DInfomax icon indicating copy to clipboard operation
3DInfomax copied to clipboard

DglPCQM4MDataset ImportError for inference

Open jadolfbr opened this issue 2 years ago • 5 comments

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.

jadolfbr avatar Aug 19 '22 21:08 jadolfbr

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!

DCoupry avatar Sep 16 '22 09:09 DCoupry

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

IanevskiAleksandr avatar Nov 12 '22 17:11 IanevskiAleksandr

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

wderekjones avatar Jan 12 '23 03:01 wderekjones

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

Violets9527 avatar Apr 06 '23 10:04 Violets9527

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

quangnguyenbn99 avatar Sep 27 '23 00:09 quangnguyenbn99