Skip to content

Commit

Permalink
Correctly reshape node features in BrcaTcga dataset (pyg-team#7971)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s authored Sep 4, 2023
1 parent 6db1453 commit cf60b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/datasets/brca_tgca.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def process(self):

data_list = []
for x, y in zip(graph_feat, graph_label):
data = Data(x=x, edge_index=edge_index, y=y)
data = Data(x=x.view(-1, 1), edge_index=edge_index, y=y)

if self.pre_filter is not None and not self.pre_filter(data):
continue
Expand Down

0 comments on commit cf60b5f

Please sign in to comment.