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

图卷积实现-torch.geometric模块使用 #394

Open
114lv opened this issue Jan 12, 2024 · 4 comments
Open

图卷积实现-torch.geometric模块使用 #394

114lv opened this issue Jan 12, 2024 · 4 comments

Comments

@114lv
Copy link

114lv commented Jan 12, 2024

libcity成员你好,我想请问一下libcity代码库中涉及图卷积的一些模型中,import里没有包含torch.geometric,geometric这个子依赖包在图学习时一般都是需要的,请问libcity是否使用了自己的方法或其他库来实现图卷积网络的功能?希望得到您的解答。此外,

@Kazeya27
Copy link
Collaborator

libcity后续更新中会加入torch.geometric依赖,目前需要自行pip下载使用

@114lv
Copy link
Author

114lv commented Jan 27, 2024 via email

@Kazeya27 Kazeya27 reopened this Mar 27, 2024
@Kazeya27
Copy link
Collaborator

图卷积类似这样的写法也可以呀torch.einsum('ncvl,wv->ncwl', (x, a)).contiguous()
并不是非要用这个包。

@k1ngr4m
Copy link

k1ngr4m commented Nov 15, 2024

libcity后续更新中会加入torch.geometric依赖,目前需要自行pip下载使用

geometric用什么版本的呀,部分版本会提示“ModuleNotFoundError: No module named "torch_sparse"

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

3 participants