Small fix for type conversion.
This commit is contained in:
parent
146406c2c0
commit
d3105e5223
@ -36,7 +36,7 @@ class Encoder(nn.Module):
|
|||||||
|
|
||||||
nodes -- list of nodes
|
nodes -- list of nodes
|
||||||
"""
|
"""
|
||||||
neigh_feats = self.aggregator.forward(nodes, [self.adj_lists[node] for node in nodes],
|
neigh_feats = self.aggregator.forward(nodes, [self.adj_lists[int(node)] for node in nodes],
|
||||||
self.num_sample)
|
self.num_sample)
|
||||||
if not self.gcn:
|
if not self.gcn:
|
||||||
if self.cuda:
|
if self.cuda:
|
||||||
|
Loading…
Reference in New Issue
Block a user