Commit b3097725 authored by askliar's avatar askliar Committed by Lingfan Yu
Browse files

[BugFix] Fix error when bfs_level = 0 in Entity Classification with RGCN (#559)

parent 8f378d90
......@@ -120,7 +120,7 @@ class RGCNEntityDataset(object):
self.test_idx = node_map[self.test_idx]
print("{} nodes left".format(self.num_nodes))
else:
self.src, self.dst, self.edge_type = edges.transpose()
self.edge_src, self.edge_dst, self.edge_type = edges.transpose()
# normalize by dst degree
_, inverse_index, count = np.unique((self.edge_dst, self.edge_type), axis=1, return_inverse=True, return_counts=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment