p-lambda/wilds

How to get the train loader of a single specific domain?

txsing opened this issue · 1 comments

For example, for iWildCam dataset, I want to write a training data loader of the specific location No. 296
Are there any code snippets for that?

You should be able to select a relevant subset using WILDSSubset (defined here) and then pass the subset into the usual get_train_loader function.