mlfoundations / wise-ft

Robust fine-tuning of zero-shot models
https://arxiv.org/abs/2109.01903
Other
654 stars 67 forks source link

How can I trained on ImageNet-A as IN and evaluate on ImageNet as OOD? #15

Closed alirezaabdollahpour closed 1 year ago

alirezaabdollahpour commented 1 year ago

Hi ;) How can I train on ImageNet-A as the in-distribution (IN) dataset and evaluate on ImageNet as the out-of-distribution (OOD) dataset?

gabrielilharco commented 1 year ago

Hi @alirezaabdollahpour. Unlike ImageNet, ImageNet-A doesn't have a training set (only a test set), so I don't think this would be possible

alirezaabdollahpour commented 1 year ago

Hi @alirezaabdollahpour. Unlike ImageNet, ImageNet-A doesn't have a training set (only a test set), so I don't think this would be possible

Thank you, Gabriel, for your response. Can we assume that the test data represents the entire dataset and then split it into training and testing sets?

gabrielilharco commented 1 year ago

Sure, although I'd keep in mind that the dataset is quite small already, so splitting it like you suggested might lead to training difficulties and more noise in the evaluations

alirezaabdollahpour commented 1 year ago

Thanks