Here’s my implementation of Generalized ODIN, a framework to detect OOD samples without exposing a network to outliers during training.
Code’s in TensorFlow and comes with several Colab Notebooks for folks to try out.
Happy to address feedback.

  
      
      github.com
  
  
    

sayakpaul/Generalized-ODIN-TF 26


  TensorFlow 2 implementation of the paper Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Data (https://arxiv.org/abs/2002.11297). - sayakpaul/General...