Skip to content

Commit

Permalink
Changed export from edge index to full data object for better reprodu…
Browse files Browse the repository at this point in the history
…ction of errors
  • Loading branch information
elliottower committed Apr 16, 2021
1 parent d86c557 commit b6e8139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocpmodels/models/graphtransformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def convert_input(args, data):
torch.save(a2a2, path + "/a2a2.pt")
torch.save(a2b2, path + "/a2b2.pt")
torch.save(b2a2, path + "/b2a2.pt")
torch.save(data.edge_index, path + "/edge_index.pt")
torch.save(data, path + "/data.pt")

# Set them equal temporarily
a2b = a2b2
Expand Down

0 comments on commit b6e8139

Please sign in to comment.