Hi Sisaman:
So happy to see your code about ProGAP. I'm attempting to execute the code, but I encounter errors. Specifically, when the model is set to GNN-DP and the graph convolution layer is either GCN or GAT, an error arises during runtime:
ValueError: Attempted to use an uninitialized parameter in <built-in method empty_like of type object at 0x7f9ba553a140>. This error happens when you are using a LazyModule or explicitly manipulating torch.nn.parameter.UninitializedParameter objects. When using LazyModules Call forward with a dummy batch to initialize the parameters before calling torch functions.
Can you tell me how to fix the bug? Thanks.
Hi Sisaman:
So happy to see your code about ProGAP. I'm attempting to execute the code, but I encounter errors. Specifically, when the model is set to GNN-DP and the graph convolution layer is either GCN or GAT, an error arises during runtime:
ValueError: Attempted to use an uninitialized parameter in <built-in method empty_like of type object at 0x7f9ba553a140>. This error happens when you are using a
LazyModuleor explicitly manipulatingtorch.nn.parameter.UninitializedParameterobjects. When using LazyModules Callforwardwith a dummy batch to initialize the parameters before calling torch functions.Can you tell me how to fix the bug? Thanks.