Skip to content

Commit

Permalink
Enable allow_pickle to be able to specify splits.
Browse files Browse the repository at this point in the history
  • Loading branch information
brian8128 committed May 8, 2024
1 parent 552e0ee commit 0d641c8
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 0d641c8

Please sign in to comment.