Official implementation of the paper 'AUAAC: Area Under Accuracy-Accuracy Curve for Evaluating Out-of-Distribution Detection'
- pytorch >= 2.0
Trained network weight should be in model directory.
You can find the weight of ResNet34 trained with cifar10 in the following URL.
https://drive.google.com/file/d/1iIBWgmym2U1VACOXWUCnA_h5INWJI9QG/view?usp=sharing
python cal_accind&accood.py --net resnet34 --dataset cifar10 --ood svhn --specific normal
python csv2curve.py --net resnet34 --dataset cifar10 --ood svhn --specific normal
python cal_score.py