# SIFA
**Repository Path**: liu-qi/SIFA
## Basic Information
- **Project Name**: SIFA
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-05-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## Unsupervised Bidirectional Cross-Modality Adaptation via Deeply Synergistic Image and Feature Alignment for Medical Image Segmentation
Tensorflow implementation of our unsupervised cross-modality domain adaptation framework.
This is the version of our [TMI paper](https://arxiv.org/abs/2002.02255).
Please refer to the branch [SIFA-v1](https://github.com/cchen-cc/SIFA/tree/SIFA-v1) for the version of our AAAI paper.
## Paper
[Unsupervised Bidirectional Cross-Modality Adaptation via Deeply Synergistic Image and Feature Alignment for Medical Image Segmentation](https://arxiv.org/abs/2002.02255)
IEEE Transactions on Medical Imaging
## Installation
* Install TensorFlow 1.10 and CUDA 9.0
* Clone this repo
```
git clone https://github.com/cchen-cc/SIFA
cd SIFA
```
## Data Preparation
* Raw data needs to be written into `tfrecord` format to be decoded by `./data_loader.py`. The pre-processed data has been released from our work [PnP-AdaNet](https://github.com/carrenD/Medical-Cross-Modality-Domain-Adaptation). The training data can be downloaded [here](https://drive.google.com/file/d/1m9NSHirHx30S8jvN0kB-vkd7LL0oWCq3/view). The testing CT data can be downloaded [here](https://drive.google.com/file/d/1SJM3RluT0wbR9ud_kZtZvCY0dR9tGq5V/view). The testing MR data can be downloaded [here](https://drive.google.com/file/d/1RNb-4iYWUaFBY61rFAnT2XT0mtwlnH1V/view).
* Put `tfrecord` data of two domains into corresponding folders under `./data` accordingly.
* Run `./create_datalist.py` to generate the datalists containing the path of each data.
## Train
* Modify paramter values in `./config_param.json`
* Run `./main.py` to start the training process
## Evaluate
* Specify the model path and test file path in `./evaluate.py`
* Run `./evaluate.py` to start the evaluation.
## Citation
If you find the code useful for your research, please cite our paper.
```
@article{chen2020unsupervised,
title = {Unsupervised Bidirectional Cross-Modality Adaptation via
Deeply Synergistic Image and Feature Alignment for Medical Image Segmentation},
author = {Chen, Cheng and Dou, Qi and Chen, Hao and Qin, Jing and Heng, Pheng Ann},
journal = {arXiv preprint arXiv:2002.02255},
year = {2020}
}
@inproceedings{chen2019synergistic,
author = {Chen, Cheng and Dou, Qi and Chen, Hao and Qin, Jing and Heng, Pheng-Ann},
title = {Synergistic Image and Feature Adaptation:
Towards Cross-Modality Domain Adaptation for Medical Image Segmentation},
booktitle = {Proceedings of The Thirty-Third Conference on Artificial Intelligence (AAAI)},
pages = {865--872},
year = {2019},
}
```
## Acknowledgement
Part of the code is revised from the [Tensorflow implementation of CycleGAN](https://github.com/leehomyc/cyclegan-1).
## Note
* The repository is being updated
* Contact: Cheng Chen (chencheng236@gmail.com)