fix(security): add nosec for torch.load (B614 #732)

This commit is contained in:
TPTBusiness
2026-04-29 17:41:35 +02:00
parent 612428f217
commit 2d0f33316c
@@ -188,7 +188,7 @@ model_cls = GPSConv
if __name__ == "__main__":
node_features = torch.load("node_features.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True) # nosec B614
# Model instantiation and forward pass
model = GPSConv(channels=node_features.size(-1), conv=MessagePassing())