Ramprasad-Group/polygnn

After successful installation, running polygnn shows error with torch

Closed this issue · 9 comments

Running "poetry run python example.py --polygnn" shows the following error:

1

While installing, I got this message.

2

Please look into this issue. Thanks!

@madhubantimukherjee can you please tell me which package versions you are using? This is what I see.

polygnn$ poetry run python
Python 3.7.3 (default, Mar 27 2019, 22:11:17) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> import torch_geometric
>>> torch.__version__
'1.9.1+cu102'
>>> torch_geometric.__version__
'2.0.4'
>>> import torch_scatter
>>> import torch_sparse
>>> torch_scatter.__version__
'2.0.9'
>>> torch_sparse.__version__
'0.6.12'

I see this. It looks almost similar. But the problem remains the same when I run polygnn.

image

OK, it looks like you have a more recent version of torch_geometric than I do. This is perfectly fine. I need to make this repo compatible with that version. I will get back to you when it is complete.

@madhubantimukherjee I believe the issue is fixed in the last version of the code. Please pull this version and redo the installation steps 6-8 in the README. Let me know how it goes.

@rishigurnani Thanks a lot. I will pull the new version and redo the installation and will let you know soon

Great! You should be able to get the new version by doing “poetry update polygnn”.

@madhubantimukherjee is your issue resolved?

Hi, @rishigurnani I reinstalled and did a test run. It just got completed successfully. I hope the issue is resolved now. Thanks a lot!

Awesome! Closing this issue then.