-
Hi guys, I recently made a GNN model using TransformerConv and TopKPooling, it is smooth while training, but I have problems when I want to use it to predict, it kept telling me that the TransformerConv doesn't have the 'aggr_module' attribute This is my network:
One training:
Train and Test
Predict:
I was using mlflow to load my model and this is what I did:
This is the error message
Please I'm begging :( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I am not totally sure why conv.aggr_module = torch_geometric.nn.aggr.SumAggregation() |
Beta Was this translation helpful? Give feedback.
I am not totally sure why
mlflow
fails to load the model, but you can probably get around this by iterating over all `MessagePassing layers and setting