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
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.
The text was updated successfully, but these errors were encountered:
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 manipulatingtorch.nn.parameter.UninitializedParameter
objects. When using LazyModules Callforward
with a dummy batch to initialize the parameters before calling torch functions.Can you tell me how to fix the bug? Thanks.
The text was updated successfully, but these errors were encountered: