The implementation of:
Hover-Trans: Anatomy-aware HoVer-Transformer for ROI-free Breast Cancer Diagnosis in Ultrasound Images
Clone the repo and install required packages:
git clone https://github.com/yuhaomo/HoVerTrans.git
cd HoVerTrans
pip install -r requirements.txt
./data
└─GDPH&SYSUCC
├─label.csv
└─img
├─benign(0).png
├─benign(1).png
├─benign(2).png
├─malignant(0).png
├─malignant(1).png
...
+------------------+-------+
| name | label |
+------------------+-------+
| benign(0).png | 0 |
| benign(1).png | 0 |
| benign(2).png | 0 |
| malignant(0).png | 1 |
| malignant(1).png | 1 |
...
python train.py --data_path ./data/GDPH&SYSUCC/img --csv_path ./data/GDPH&SYSUCC/label.csv --batch_size 32 --class_num 2 --epochs 250 --lr 0.0001
If you find this repository useful or use our dataset, please consider citing our work:
@ARTICLE{10015121,
author={Mo, Yuhao and Han, Chu and Liu, Yu and Liu, Min and Shi, Zhenwei and Lin, Jiatai and Zhao, Bingchao and Huang, Chunwang and Qiu, Bingjiang and Cui, Yanfen and Wu, Lei and Pan, Xipeng and Xu, Zeyan and Huang, Xiaomei and Li, Zhenhui and Liu, Zaiyi and Wang, Ying and Liang, Changhong},
journal={IEEE Transactions on Medical Imaging},
title={HoVer-Trans: Anatomy-aware HoVer-Transformer for ROI-free Breast Cancer Diagnosis in Ultrasound Images},
year={2023},
volume={},
number={},
pages={1-1},
doi={10.1109/TMI.2023.3236011}}