From 1c75a7586353fa06dfd93f02cb20e4f1a1685f6b Mon Sep 17 00:00:00 2001 From: riship Date: Sat, 11 Jan 2025 16:05:35 -0800 Subject: [PATCH] debug --- torch_geometric/data/large_graph_indexer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torch_geometric/data/large_graph_indexer.py b/torch_geometric/data/large_graph_indexer.py index 166d74277c7b..8755d23d326d 100644 --- a/torch_geometric/data/large_graph_indexer.py +++ b/torch_geometric/data/large_graph_indexer.py @@ -148,8 +148,8 @@ def __init__( self.edge_attr[EDGE_TAIL].append(t) self.edge_attr[EDGE_INDEX].append( (self._nodes[h], self._nodes[t])) - print("self.edge_index[20:60] in indexer init=", - self.edge_attr[EDGE_INDEX][20:60]) + print("self.edge_index[20:60].dst_nodes in indexer init=", + self.edge_attr[EDGE_TAIL][20:60]) for i, tup in enumerate(edges): self._edges[tup] = i