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

On taking the maximum projection on SHE patterns #90

Open paulnovello opened 7 months ago

paulnovello commented 7 months ago

In the original paper, SHE projects the features on all the patterns and takes the projection on that which corresponds to the predicted class. In our implementation, we simply take the maximum projection (as in mahalanobis) for implementation reasons. It does not seem to affect the results. it should be further checked.

Ref: https://github.com/deel-ai/oodeel/pull/87#discussion_r1570823575