deel-ai / oodeel

Simple, compact, and hackable post-hoc deep OOD detection for already trained tensorflow or pytorch image classifiers.
https://deel-ai.github.io/oodeel/
MIT License
52 stars 2 forks source link

Baseline/entropy #40

Closed paulnovello closed 1 year ago

paulnovello commented 1 year ago

Entropy method. Just a score based on $-\sum p_i log(p_i)$ seen in [Likelihood Ratios for Out-of-Distribution Detection](https://proceedings.neurips.cc/paper/2019/hash/1e79596878b2320cac26dd792a6c51c9-Abstract.html