/SA

Primary LanguagePythonMIT LicenseMIT

Code for "Supervision Adaptation Balances In-Distribution Generalization and Out-of-Distribution Detection"

requirement

  • Python 3.8
  • Pytorch 1.12
  • scikit-learn
  • tqdm
  • pandas
  • scipy

Datasets

In-distribution Datasets

Our codes will download the two in-distribution datasets automatically.

Out-of-Distribtion Datasets

The following four out-of-distribution datasets are provided by ODIN

Each out-of-distribution dataset should be put in the corresponding subdir in ./data