Skip to content

wizardbc/trim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRIM

Trimmed Rank with Inverse softMax probability.

Universal and reliable, but simple, OOD(Out-of-Distribution) score.

Datasets

Place datasets under ./data/

ImageNet-1k as ID

OOD for ImageNet-1k

From deeplearning-wisc/dice

From hendrycks/natural-adv-examples

From ViM

Create Runners

Create runners and save them in ./runners/.

Runners not contained in this repository.

python create_runner.py WEIGHT_NAME

Choose one WEIGHT_NAME in the weights.list.

Evaluate

Evaluate OOD methods and save results in ./results/.

Saved results are contained in this repository.

python eval_runner.py WEIGHT_NAME

Choose one WEIGHT_NAME in the weights.list

  • For more details eval.ipynb

resnet50.{A,B,C}

Three weights trained from scratch are contained in ./train/.

  • For more details read ./train/README.md

About

Trimmed Rank with Inverse softMax probability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published