Continual Contrastive Anomaly Detection Under Natural Data Distribution Shifts paper
This is a conference paper published on CACRE 2023.
To reproduce CCAD, you should
1. Download the Kyoto-2006+ ref Dataset
python ./datasets/download.py
2. Process the Dataset (Refer to Anoshift)
parse the txt files --> one-hot encoding ( refer to parse_kyoto_monthly.py and preprocess_onehot_monthly)
CCAD w/o rehearsal: python CCAD.py --gpu 0
CCAD w rehearsal: python CCAD.py --gpu 0 --replay
python ./eval_results/parse_pkl.py