PD-MeshNet icon indicating copy to clipboard operation
PD-MeshNet copied to clipboard

torch.nn.modules.module.ModuleAttributeError: 'GATConvNoSelfLoops' object has no attribute 'weight'

Open cravisjan97 opened this issue 4 years ago • 1 comments

I am running training_job_example_aliens_superpix.py and I am getting the above attribute error during forward() in model file

cravisjan97 avatar Jan 06 '21 18:01 cravisjan97

I meet the same situation. And I find your code in forward method is not same as GATConv's forward method, which is a contradiction for your statements. # The part before the feature propagation is exactly the same as in the # parent class GATConv, since the primal features get multiplied by the # weight matrix. However, self-loops are not added, as the would not # have a corresponding node in the dual graph.

lidan233 avatar Aug 29 '21 19:08 lidan233