--- license: cc-by-nc-sa-4.0 task_categories: - image-classification - image-segmentation language: - en tags: - anomaly-detection - continual-learning - test-time-adaptation - medical-imaging - industrial-inspection size_categories: - 10K/ # anomalous test images │ └── ground_truth/ # pixel-level masks (where available) **Notes:** - Medical datasets use `Ungood` as the anomaly folder name - OCT17 train is split into `good_a` and `good_b` (>10k files) - ChestXray anomaly is split into `Ungood_a` and `Ungood_b` (>10k files) ## Download and Setup ```python from huggingface_hub import snapshot_download snapshot_download( repo_id="Hammadhaideerr/CTTA-AD-Benchmarks", repo_type="dataset", local_dir="data/", ) ``` Or download a single dataset: ```python from huggingface_hub import snapshot_download snapshot_download( repo_id="Hammadhaideerr/CTTA-AD-Benchmarks", repo_type="dataset", local_dir="data/BrainMRI/", allow_patterns="BrainMRI/*", ) ``` ## Citation If you use these datasets, please cite the original dataset papers alongside our work: - **MVTec-AD:** Bergmann et al., CVPR 2019 - **VisA:** Zou et al., ECCV 2022 - **MVTec-LOCO:** Bergmann et al., IJCV 2022 - **BMAD (BrainMRI, LiverCT, RESC, HIS, OCT17, ChestXray):** Bao et al., CVPR Workshops 2024