diff --git a/wilds/datasets/wilds_dataset.py b/wilds/datasets/wilds_dataset.py index d4f301e3..3f3f5124 100644 --- a/wilds/datasets/wilds_dataset.py +++ b/wilds/datasets/wilds_dataset.py @@ -512,7 +512,7 @@ def split_array(self): @property def y_array(self): - return self.dataset._y_array[self.indices] + return self.dataset.y_array[self.indices] @property def metadata_array(self):