From af614a06d12646497b7885753430e4dd30a2de4c Mon Sep 17 00:00:00 2001 From: Deepanshu Bagotia <61933230+Bagotia16@users.noreply.github.com> Date: Tue, 21 Feb 2023 01:00:21 +0530 Subject: [PATCH] Updated wilds_dataset.py changed _y_array to y_array in WILDSSubset class --- wilds/datasets/wilds_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):