Closed wangzeyu135798 closed 3 years ago
This function is from Pytorch Geometric. My guess is that this issue is due to a mismatch in Pytorch Geometric versions. Were you able to use the provided conda environment? If not, which version are you using?
Thanks!I changed torch-geometric from 1.6.0 to 1.4.3, the code is ok in my device.
------------------ 原始邮件 ------------------ 发件人: "mims-harvard/SubGNN" <notifications@github.com>; 发送时间: 2020年11月24日(星期二) 凌晨2:30 收件人: "mims-harvard/SubGNN"<SubGNN@noreply.github.com>; 抄送: "天津工业大学王泽宇"<1051533398@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [mims-harvard/SubGNN] Code (#6)
This function is from Pytorch Geometric. My guess is that this issue is due to a mismatch in Pytorch Geometric versions. Were you able to use the provided conda environment? If not, which version are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi @wangzeyu135798, I just wanted to let you know that I updated the repo so that all of the code should work with the newest version of pytorch geometric. The yml file is updated as well.
Hi: In /SubGNN/subgraph_mpn.py, line 213 mp_type = self.get_mp_type(edge_index) torch.nn.modules.module.ModuleAttributeError: 'SG_MPN' object has no attribute 'get_mp_type' How to solve it?