Skip to content

Commit

Permalink
Fixing bug in open source implementation of OGB-LSC/PCQ.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 483319710
  • Loading branch information
alvarosg authored and diegolascasas committed Oct 24, 2022
1 parent a748a7c commit a318c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ogb_lsc/pcq/dataset_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def _load_smiles(
elif split == "train":
indices = datasets.load_all_except_kth_fold_indices(
data_root, k_fold_split_id, num_k_fold_splits)
indices += datasets.load_splits()["train"]
else:
assert split == "valid"
indices = datasets.load_kth_fold_indices(data_root, k_fold_split_id)
Expand Down

0 comments on commit a318c69

Please sign in to comment.