Skip to content

Commit

Permalink
Merge pull request #126 from abertics/bugfix
Browse files Browse the repository at this point in the history
Make GNNWrapper forward call to backbone compatible with **kwargs
  • Loading branch information
gbg141 authored Dec 18, 2024
2 parents d97d761 + 47eefe1 commit 3c31574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topobenchmark/nn/wrappers/graph/gnn_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def forward(self, batch):
x_0 = self.backbone(
batch.x_0,
batch.edge_index,
batch.get("edge_weight", None),
edge_weight=batch.get("edge_weight", None),
)

model_out = {"labels": batch.y, "batch_0": batch.batch_0}
Expand Down

0 comments on commit 3c31574

Please sign in to comment.