/combood

Primary LanguagePython

# Method

# Cifar10:

  • Provide necessary directories of pretrained OpenOOD checkpoint models inside the script: /confidence-magesh/OpenOOD/openood_id_ood_and_model_cifar10.py

  • Provide necessary directories of OpenOOD datasets inside the files: /home/saiful/confidence_icdb/confidence-magesh/OpenOOD/configs/datasets/cifar10/cifar10.yml and /home/saiful/confidence_icdb/confidence-magesh/OpenOOD/configs/datasets/cifar10/cifar10_ood.yml.

Please follow the similar approach to run it with mnist, cifar100, and imagenet. You need to provide directory of the OpenOOD datasets and checkpoints inside: /confidence-magesh/OpenOOD/openood_id_ood_and_model_mnist.py,
/confidence-magesh/OpenOOD/openood_id_ood_and_model_cifar100.py,
and confidence-magesh/OpenOOD/openood_id_ood_and_model_imagenet.py files.

  • The results can be found inside the following directories: for mnist : /confidence-magesh/results/mnist_lenet/knn/ for cifar10: /confidence-magesh/results/cifar10_resnet/knn/ for cifar100: /confidence-magesh/results/cifar100_resnet/knn/ for imagenet: /confidence-magesh/results/imagenet_resnet50/knn/ for document: /confidence-magesh/results/document_resnet50_docu/knn/

# Document dataset:

Citation

If you find our repository useful for your research, please consider citing our paper:

# v1.0
@Book{magesh2024combood,
	author = {Magesh Rajasekaran and Md Saiful Islam Sajol and Frej Berglind and Supratik Mukhopadhyay and Kamalika Das},
	title = {COMBOOD: A Semiparametric Approach for Detecting Out-of-distribution Data for Image Classification},
	booktitle = {Proceedings of the 2024 SIAM International Conference on Data Mining (SDM)},
	pages = {643-651},
	year = {2024},
	doi = {10.1137/1.9781611978032.74},
	URL = {https://epubs.siam.org/doi/abs/10.1137/1.9781611978032.74}
}