Skip to content

Continual Contrastive Anomaly Detection under Natural Data Distribution Shifts

Notifications You must be signed in to change notification settings

JingyuYang1997/CCAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

3. Run CCAD

CCAD w/o rehearsal: python CCAD.py --gpu 0 
CCAD w rehearsal: python CCAD.py --gpu 0 --replay 

4. Analyze the Results

python ./eval_results/parse_pkl.py