This repo contains a method to adversarially train Autoencoders (AEs) (Dense AE and Variational AE) for unsupervised anomaly segmentation task on brain MR Images.
Adversarial Training
, Autoencoders
, Anomaly Segmentation
, Unsupervised
, Brain MR Images
, TensorFlow
, Keras
Python >= 3.6
All packages used in this repository are listed in requirements.txt. To install those, run:
pip3 install -r requirements.txt
adversarial-training/
├── models/ - Models defining and training
│ └── Autoencoders/
│ └── DCAE.py
│ └── Latent Variable models/
│ └── VAE.py
└── scripts/ - Utility scripts for evaluation and adversarial crafting
├── adversarial_crafting.py
├── eval_brats.py
├── eval_mslub.py
├── ...
└── utils.py
Every model can be trained and evaluated individually using the scripts which are provided in the models/*
and scripts/*
folders.
The most recent version of ART can be downloaded or cloned from this repository:
git clone https://github.com/Trusted-AI/adversarial-robustness-toolbox
Install ART with the following command from the project folder adversarial-robustness-toolbox: Using pip:
pip install .
Please do not hesitate to open an issue to inform of any problem you may find within this repository.
For more details about the unsupervised anomaly segmentation method, you can find our published paper on MIDL 2022 Conference
Transformers for Unsupervised Anomaly Segmentation in Brain MR Images.
@article{ahghorbe2022,
title = {Transformer based Models for Unsupervised Anomaly Segmentation in Brain MR Images},
author = {Ghorbel, Ahmed and Aldahdooh, Ahmed and Hamidouche, Wassim and Albarqouni, Shadi},
booktitle={Medical Imaging with Deep Learning},
year = {2022}
}
For more details about the adversarial training procedure, you can read the paper on ARAE: Adversarially robust training of autoencoders improves novelty detection.
@article{salehi2021arae,
title={Arae: Adversarially robust training of autoencoders improves novelty detection},
author={Salehi, Mohammadreza and Arya, Atrin and Pajoum, Barbod and Otoofi, Mohammad and Shaeiri, Amirreza and Rohban, Mohammad Hossein and Rabiee, Hamid R},
journal={Neural Networks},
volume={144},
pages={726--736},
year={2021},
publisher={Elsevier}
}
This project is licensed under the GNU General Public License v3.0. See LICENSE for more details