H2ST: Hierarchical Two-sample Tests for Continual Out-of-Distribution Detection
March 16, 2025 ยท View on GitHub
Description
This repository is for the implementation of our paper, H2ST: Hierarchical Two-sample Tests for Continual Out-of-Distribution Detection
Run the code
- 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
Credits
These open source projects played a pivotal role in our research:
- https://github.com/facebookresearch/GradientEpisodicMemory
- https://github.com/sooyongj/sequential_covariate_shift_detection
- and many more...