Closed ROBOTICSENGINEER closed 3 years ago
The OOD images can be downloaded here.
Below is how OOD images are processed with PyTorch:
transform = transforms.Compose([
transforms.CenterCrop((32, 32)),
transforms.ToTensor(),
transforms.Normalize(mean=mean, std=std),
])
# mean and std is the same as your training data preprocessing
what is transformation of out of distribution, resize to what, and how does it crop?
Can you share the link to where you download the out of distribution images datasets?