Code for "Out-of-Distribution Detection by Exploiting Complementary Information" requirement Python 3.7 Pytorch 1.1 torchvision 0.3 scikit-learn tqdm pandas scipy Datasets In-distribution Datasets CIFAR10 Our codes will download the in-distribution dataset automatically. Out-of-Distribtion Datasets CIFAR100 CUB200 StanfordDogs120 OxfordPets37 Oxfordflowers102 Caltech256 DTD47 COCO Each out-of-distribution dataset should be put in the corresponding subdir in ./data Train and Test Run the script demo.sh.