This repository is for the implementation of our paper, H2ST: Hierarchical Two-sample Tests for Continual Out-of-Distribution Detection
- Set up the environment:
pip install -r requirements.txt
- Prepare the datasets (take MNIST as an example):
python data/mnist.py
- Run the training and detection:
python main.py
These open source projects played a pivotal role in our research: