problem encountered running demo.py
msqiqi10 opened this issue · comments
msqiqi10 commented
Thanks for your contribution!
When I was trying to incorporate your work as a baseline, I'm having this error:
In sparse_smoothing/models.py
, line 18 edge_idx, norm = self.norm(edge_idx, x.size(0), None, self.improved, x.dtype)
'SparseGCNConv' object has no attribute 'norm'
.
Could you please help me out?
Thanks!
Aleksandar Bojchevski commented
Hi,
In the new version of Pytorch Geometric the way the normalization term for GCN models is computed was changed. I've updated the model to match the new version. Does it work for you now?