├── README.md ├── assets ├── .DS_Store └── teaser.png ├── config.py ├── data ├── __init__.py ├── augmentations │ ├── __init__.py │ ├── cut_out.py │ └── randaugment.py ├── cifar.py ├── cub.py ├── fgvc_aircraft.py ├── imagenet.py ├── mnist.py ├── ood_datasets.py ├── open_set_datasets.py ├── open_set_splits │ ├── __init__.py │ ├── aircraft_osr_splits.pkl │ ├── cub_osr_splits.pkl │ ├── herbarium_19_class_splits.pkl │ ├── imagenet21k_osr_splits.pkl │ ├── osr_splits.py │ ├── scars_osr_splits.pkl │ ├── timm_pretrained_accs.csv │ └── waterbird_osr_splits.pkl ├── pku_aircraft.py ├── stanford_cars.py ├── svhn.py ├── tinyimagenet.py └── waterbird.py ├── eval ├── ood.py ├── ood_eval.sh ├── osr_large.py └── osr_small.py ├── find_corrupt_img.py ├── methods ├── ARPL │ ├── __init__.py │ ├── arpl_models │ │ ├── ABN.py │ │ ├── __init__.py │ │ ├── arpl_models.py │ │ ├── gan.py │ │ ├── resnet.py │ │ ├── resnetABN.py │ │ └── wrapper_classes.py │ ├── arpl_utils.py │ ├── init_hypers.py │ └── osr.py ├── OOD │ ├── compute_threshold.py │ ├── eval.py │ ├── ood.py │ ├── ood_large.py │ ├── score.py │ ├── train.py │ └── util │ │ ├── args_loader.py │ │ ├── data_loader.py │ │ ├── dataset_largescale.py │ │ ├── mahalanobis_lib.py │ │ ├── metrics.py │ │ ├── model_loader.py │ │ └── svhn_loader.py ├── __init__.py ├── loss │ ├── ARPLoss.py │ ├── Dist.py │ ├── LabelSmoothing.py │ ├── OELoss.py │ ├── Softmax.py │ ├── __init__.py │ └── logitnorm.py ├── test.py └── train.py ├── models ├── __init__.py ├── cait.py ├── classifier32.py ├── convmixer.py ├── densenet.py ├── extractor.py ├── godin_net.py ├── misc_utils.py ├── mobilenet.py ├── model_utils.py ├── resnet.py ├── swin.py ├── train_vit.py ├── vit.py ├── vit_small.py ├── vit_small_cs.py └── wrn.py ├── new_bash ├── eval │ ├── .DS_Store │ ├── ood │ │ ├── OE_grid_search.sh │ │ ├── large_clip.sh │ │ ├── large_clip_ft.sh │ │ ├── large_clip_lp.sh │ │ ├── large_resnet50.sh │ │ ├── large_vit.sh │ │ ├── middle_resnet18.sh │ │ ├── middle_vit.sh │ │ ├── middle_wrn.sh │ │ ├── small_clip.sh │ │ ├── small_densenet121.sh │ │ ├── small_resnet18.sh │ │ ├── small_resnet50.sh │ │ └── small_wrn.sh │ └── osr │ │ ├── OE_grid_search.sh │ │ ├── large_clip.sh │ │ ├── large_clip_ft.sh │ │ ├── large_clip_lp.sh │ │ ├── large_resnet50.sh │ │ ├── small_resnet18.sh │ │ └── small_vit.sh └── train │ ├── arpl_conv.sh │ ├── ce_conv.sh │ ├── ce_vit.sh │ ├── godin_conv.sh │ ├── oe_conv.sh │ ├── oe_tune.sh │ └── oe_tune_osr.sh ├── requirements.txt ├── train ├── arpl_conv.py ├── arpl_conv_scratch.py ├── arpl_vit.py ├── arpl_vit_scratch.py ├── ce_conv.py ├── ce_conv_scratch.py ├── godin_conv.py ├── oe_conv.py ├── oe_conv_scratch.py ├── oe_conv_tune.py └── oe_osr_tune.py ├── train_configs.yaml └── utils ├── ImageNetFolder.py ├── ImagenetR_ImageFolder.py ├── __init__.py ├── clip_tools.py ├── cls_name.py ├── compute_threshold.py ├── evaluation.py ├── logfile_parser.py ├── paper_hyperparameters.csv ├── schedulers.py ├── score.py ├── stools.py ├── tinyimages_80mn_loader.py ├── utils.py └── yfcc_ImageFolder.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/README.md -------------------------------------------------------------------------------- /assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/assets/.DS_Store -------------------------------------------------------------------------------- /assets/teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/assets/teaser.png -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/config.py -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/augmentations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/augmentations/__init__.py -------------------------------------------------------------------------------- /data/augmentations/cut_out.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/augmentations/cut_out.py -------------------------------------------------------------------------------- /data/augmentations/randaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/augmentations/randaugment.py -------------------------------------------------------------------------------- /data/cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/cifar.py -------------------------------------------------------------------------------- /data/cub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/cub.py -------------------------------------------------------------------------------- /data/fgvc_aircraft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/fgvc_aircraft.py -------------------------------------------------------------------------------- /data/imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/imagenet.py -------------------------------------------------------------------------------- /data/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/mnist.py -------------------------------------------------------------------------------- /data/ood_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/ood_datasets.py -------------------------------------------------------------------------------- /data/open_set_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_datasets.py -------------------------------------------------------------------------------- /data/open_set_splits/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/open_set_splits/aircraft_osr_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/aircraft_osr_splits.pkl -------------------------------------------------------------------------------- /data/open_set_splits/cub_osr_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/cub_osr_splits.pkl -------------------------------------------------------------------------------- /data/open_set_splits/herbarium_19_class_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/herbarium_19_class_splits.pkl -------------------------------------------------------------------------------- /data/open_set_splits/imagenet21k_osr_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/imagenet21k_osr_splits.pkl -------------------------------------------------------------------------------- /data/open_set_splits/osr_splits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/osr_splits.py -------------------------------------------------------------------------------- /data/open_set_splits/scars_osr_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/scars_osr_splits.pkl -------------------------------------------------------------------------------- /data/open_set_splits/timm_pretrained_accs.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/timm_pretrained_accs.csv -------------------------------------------------------------------------------- /data/open_set_splits/waterbird_osr_splits.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/open_set_splits/waterbird_osr_splits.pkl -------------------------------------------------------------------------------- /data/pku_aircraft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/pku_aircraft.py -------------------------------------------------------------------------------- /data/stanford_cars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/stanford_cars.py -------------------------------------------------------------------------------- /data/svhn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/svhn.py -------------------------------------------------------------------------------- /data/tinyimagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/tinyimagenet.py -------------------------------------------------------------------------------- /data/waterbird.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/data/waterbird.py -------------------------------------------------------------------------------- /eval/ood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/eval/ood.py -------------------------------------------------------------------------------- /eval/ood_eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/eval/ood_eval.sh -------------------------------------------------------------------------------- /eval/osr_large.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/eval/osr_large.py -------------------------------------------------------------------------------- /eval/osr_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/eval/osr_small.py -------------------------------------------------------------------------------- /find_corrupt_img.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/find_corrupt_img.py -------------------------------------------------------------------------------- /methods/ARPL/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/ABN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/ABN.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/arpl_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/arpl_models.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/gan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/gan.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/resnet.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/resnetABN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/resnetABN.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_models/wrapper_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_models/wrapper_classes.py -------------------------------------------------------------------------------- /methods/ARPL/arpl_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/arpl_utils.py -------------------------------------------------------------------------------- /methods/ARPL/init_hypers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/init_hypers.py -------------------------------------------------------------------------------- /methods/ARPL/osr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/ARPL/osr.py -------------------------------------------------------------------------------- /methods/OOD/compute_threshold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/compute_threshold.py -------------------------------------------------------------------------------- /methods/OOD/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/eval.py -------------------------------------------------------------------------------- /methods/OOD/ood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/ood.py -------------------------------------------------------------------------------- /methods/OOD/ood_large.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/ood_large.py -------------------------------------------------------------------------------- /methods/OOD/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/score.py -------------------------------------------------------------------------------- /methods/OOD/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/train.py -------------------------------------------------------------------------------- /methods/OOD/util/args_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/args_loader.py -------------------------------------------------------------------------------- /methods/OOD/util/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/data_loader.py -------------------------------------------------------------------------------- /methods/OOD/util/dataset_largescale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/dataset_largescale.py -------------------------------------------------------------------------------- /methods/OOD/util/mahalanobis_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/mahalanobis_lib.py -------------------------------------------------------------------------------- /methods/OOD/util/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/metrics.py -------------------------------------------------------------------------------- /methods/OOD/util/model_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/model_loader.py -------------------------------------------------------------------------------- /methods/OOD/util/svhn_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/OOD/util/svhn_loader.py -------------------------------------------------------------------------------- /methods/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/__init__.py -------------------------------------------------------------------------------- /methods/loss/ARPLoss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/ARPLoss.py -------------------------------------------------------------------------------- /methods/loss/Dist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/Dist.py -------------------------------------------------------------------------------- /methods/loss/LabelSmoothing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/LabelSmoothing.py -------------------------------------------------------------------------------- /methods/loss/OELoss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/OELoss.py -------------------------------------------------------------------------------- /methods/loss/Softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/Softmax.py -------------------------------------------------------------------------------- /methods/loss/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /methods/loss/logitnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/loss/logitnorm.py -------------------------------------------------------------------------------- /methods/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/test.py -------------------------------------------------------------------------------- /methods/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/methods/train.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/cait.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/cait.py -------------------------------------------------------------------------------- /models/classifier32.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/classifier32.py -------------------------------------------------------------------------------- /models/convmixer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/convmixer.py -------------------------------------------------------------------------------- /models/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/densenet.py -------------------------------------------------------------------------------- /models/extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/extractor.py -------------------------------------------------------------------------------- /models/godin_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/godin_net.py -------------------------------------------------------------------------------- /models/misc_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/misc_utils.py -------------------------------------------------------------------------------- /models/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/mobilenet.py -------------------------------------------------------------------------------- /models/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/model_utils.py -------------------------------------------------------------------------------- /models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/resnet.py -------------------------------------------------------------------------------- /models/swin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/swin.py -------------------------------------------------------------------------------- /models/train_vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/train_vit.py -------------------------------------------------------------------------------- /models/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/vit.py -------------------------------------------------------------------------------- /models/vit_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/vit_small.py -------------------------------------------------------------------------------- /models/vit_small_cs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/vit_small_cs.py -------------------------------------------------------------------------------- /models/wrn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/models/wrn.py -------------------------------------------------------------------------------- /new_bash/eval/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/.DS_Store -------------------------------------------------------------------------------- /new_bash/eval/ood/OE_grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/OE_grid_search.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/large_clip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/large_clip.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/large_clip_ft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/large_clip_ft.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/large_clip_lp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/large_clip_lp.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/large_resnet50.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/large_resnet50.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/large_vit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/large_vit.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/middle_resnet18.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/middle_resnet18.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/middle_vit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/middle_vit.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/middle_wrn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/middle_wrn.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/small_clip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/small_clip.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/small_densenet121.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/small_densenet121.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/small_resnet18.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/small_resnet18.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/small_resnet50.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/small_resnet50.sh -------------------------------------------------------------------------------- /new_bash/eval/ood/small_wrn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/ood/small_wrn.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/OE_grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/OE_grid_search.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/large_clip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/large_clip.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/large_clip_ft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/large_clip_ft.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/large_clip_lp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/large_clip_lp.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/large_resnet50.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/large_resnet50.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/small_resnet18.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/small_resnet18.sh -------------------------------------------------------------------------------- /new_bash/eval/osr/small_vit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/eval/osr/small_vit.sh -------------------------------------------------------------------------------- /new_bash/train/arpl_conv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/arpl_conv.sh -------------------------------------------------------------------------------- /new_bash/train/ce_conv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/ce_conv.sh -------------------------------------------------------------------------------- /new_bash/train/ce_vit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/ce_vit.sh -------------------------------------------------------------------------------- /new_bash/train/godin_conv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/godin_conv.sh -------------------------------------------------------------------------------- /new_bash/train/oe_conv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/oe_conv.sh -------------------------------------------------------------------------------- /new_bash/train/oe_tune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/oe_tune.sh -------------------------------------------------------------------------------- /new_bash/train/oe_tune_osr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/new_bash/train/oe_tune_osr.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/requirements.txt -------------------------------------------------------------------------------- /train/arpl_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/arpl_conv.py -------------------------------------------------------------------------------- /train/arpl_conv_scratch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/arpl_conv_scratch.py -------------------------------------------------------------------------------- /train/arpl_vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/arpl_vit.py -------------------------------------------------------------------------------- /train/arpl_vit_scratch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/arpl_vit_scratch.py -------------------------------------------------------------------------------- /train/ce_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/ce_conv.py -------------------------------------------------------------------------------- /train/ce_conv_scratch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/ce_conv_scratch.py -------------------------------------------------------------------------------- /train/godin_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/godin_conv.py -------------------------------------------------------------------------------- /train/oe_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/oe_conv.py -------------------------------------------------------------------------------- /train/oe_conv_scratch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/oe_conv_scratch.py -------------------------------------------------------------------------------- /train/oe_conv_tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/oe_conv_tune.py -------------------------------------------------------------------------------- /train/oe_osr_tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train/oe_osr_tune.py -------------------------------------------------------------------------------- /train_configs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/train_configs.yaml -------------------------------------------------------------------------------- /utils/ImageNetFolder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/ImageNetFolder.py -------------------------------------------------------------------------------- /utils/ImagenetR_ImageFolder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/ImagenetR_ImageFolder.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/clip_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/clip_tools.py -------------------------------------------------------------------------------- /utils/cls_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/cls_name.py -------------------------------------------------------------------------------- /utils/compute_threshold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/compute_threshold.py -------------------------------------------------------------------------------- /utils/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/evaluation.py -------------------------------------------------------------------------------- /utils/logfile_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/logfile_parser.py -------------------------------------------------------------------------------- /utils/paper_hyperparameters.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/paper_hyperparameters.csv -------------------------------------------------------------------------------- /utils/schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/schedulers.py -------------------------------------------------------------------------------- /utils/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/score.py -------------------------------------------------------------------------------- /utils/stools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/stools.py -------------------------------------------------------------------------------- /utils/tinyimages_80mn_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/tinyimages_80mn_loader.py -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/utils.py -------------------------------------------------------------------------------- /utils/yfcc_ImageFolder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visual-AI/Dissect-OOD-OSR/HEAD/utils/yfcc_ImageFolder.py --------------------------------------------------------------------------------