You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
xingbowen
changed the title
您的代码在定义self.gat_dep时直接用的list没有用nn.ModuleList
您的代码在定义self.gat_dep时直接用的list没有用nn.ModuleList,这导致self.gat_dep的参数不训练
Oct 30, 2020
我发现您的代码在定义self.gat_dep时直接用的list没有用nn.ModuleList, 我查了一些文档,发现这会导致self.gat_dep的参数不会参与训练,只会参加forward计算。
于是我进行了实验,我在训练前后打印self.gat_dep的参数,发现没有变化,但是实验结果与您的论文中差不多。
请问在你那里运行时有没有这个情况?
为什么初始化self.gat_dep的参数后它的参数从未参与训练只参与了forward过程还能得到比较好的结果?
The text was updated successfully, but these errors were encountered: