neural-graphs icon indicating copy to clipboard operation
neural-graphs copied to clipboard

mnist-inr-classification.ipynb can't work

Open Yewei-Liu opened this issue 1 year ago • 2 comments

as I was running this image I got image and I try to upgrade my torch_geometric image and it sill doesn't work. How can I get rid of this? help!

Yewei-Liu avatar Dec 08 '24 15:12 Yewei-Liu

What is the Torch Geometric version in your environment? We have tested our source code with version 2.3.0, newer versions might not work out of the box. In newer versions of Torch Geometric, the module seems to be renamed to _trim_to_layer, so running:

from torch_geometric.utils._trim_to_layer import TrimToLayer

seems to work for me.

mkofinas avatar Dec 09 '24 19:12 mkofinas

Online notebook still can't work. I guess there is something wrong with the versions. But download it and run it locally with conda solve the problem. thanks:)

Yewei-Liu avatar Dec 12 '24 14:12 Yewei-Liu