Skip to content

Commit 91f35a8

Browse files
authored
Bug Fix (#708)
1 parent 801f5ba commit 91f35a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

federatedscope/gfl/fedsageplus/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __call__(self, data):
6565
data.x.shape[1]))))
6666
else:
6767
G.nodes[i]['x_missing'] = data.x[
68-
ids_missing[:self.num_pred]]
68+
ids_missing[:self.num_pred]].numpy()
6969
else:
7070
G.nodes[i]['x_missing'] = np.zeros(
7171
(self.num_pred, data.x.shape[1]))

0 commit comments

Comments
 (0)