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

No module named 'torch_geometric.nn.dense.linear' #1

Open
vietvo89 opened this issue Jun 15, 2022 · 2 comments
Open

No module named 'torch_geometric.nn.dense.linear' #1

vietvo89 opened this issue Jun 15, 2022 · 2 comments

Comments

@vietvo89
Copy link

Hi, I do not see any requirement to install torch geometric. So when I ran your demo.ipynb, it caused an error

'No module named 'torch_geometric.nn.dense.linear'

What is the version of torch geometric you used for this repo? I'm using torch geometric 1.7.0

Thanks

@EdisonLeeeee
Copy link
Owner

Hi, this project is based on another project GraphWar, which was built upon dgl.
Recently, GraphWar has been refactored using torch_geometric (>=2.0.0).

To reproduce the results, you might switch to an old branch:

git clone https://github.com/EdisonLeeeee/GraphWar.git && cd GraphWar && git checkout dgl
pip install -e . --verbose

and it should work.

We will provide a demo built upon torch_geometric soon.

@vietvo89
Copy link
Author

@EdisonLeeeee, thanks!!!

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

2 participants