Skip to content

Updated wilds_dataset.py#144

Open
Bagotia16 wants to merge 1 commit intop-lambda:mainfrom
Bagotia16:main
Open

Updated wilds_dataset.py#144
Bagotia16 wants to merge 1 commit intop-lambda:mainfrom
Bagotia16:main

Conversation

@Bagotia16
Copy link

Changed _y_array to y_array in WILDSSubset class.
This change will resolve the error that arise when you take a wildssubset out of a wildsdataset and try to get its targets.
AttributeError: 'WILDSSubset' object has no attribute '_y_array'

changed _y_array to y_array in WILDSSubset class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant