Skip to content

Commit

Permalink
Merge pull request #319 from brian8128/fix_splits
Browse files Browse the repository at this point in the history
Enable allow_pickle to be able to specify splits.
  • Loading branch information
stefdoerr committed May 9, 2024
2 parents 552e0ee + 0d641c8 commit 75c462a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def make_splits(
order=None,
):
if splits is not None:
splits = np.load(splits)
splits = np.load(splits, allow_pickle=True)
idx_train = splits["idx_train"]
idx_val = splits["idx_val"]
idx_test = splits["idx_test"]
Expand Down

0 comments on commit 75c462a

Please sign in to comment.