scr: screening seg: segmentation DR: retinopathy diagnosis LANet: lesion-aware net for DR lesion segmentation LASNet: lesion-aware disease screening net
The experiments were conducted on Ubuntu OS with AMD Ryzen 5950X Processor, 64GB RAM, and an Nvidia GeForce RTX 3090 GPU. Some modifications may need for For running the codes on Windows OS.
- Step 1, datasets. We involved three datasets: IDRiD, DDR, and FGADR. Download the weight named resnet50-19c8e357.pth and put it in the folder named pre-trained.
- Step 2, preprocess the data using the code in "data_prepare".
- Step 3, fill in the path information in "seg_config.py" and "scr_config.py".
- Step 4, run "seg_train.py" or
bash seg_train.shto train our LANet for lesion segmentation. - Step 5 (not required), run "scr_train.py" or
bash scr_train.shto finetune LASNet for diabetic retinopathy classification.
bash seg_test.sh or bash scr_test.sh.
The well-trained weights are available at LANet-Baidu with pw fvsm/LANet-GoogleDrive/LANet-Mega and LASNet-Baidu with pw 1dja/LASNet-GoogleDrive/LASNet-Mega for inference.
You can apply the model in the folder "models" to your own training/testing codes.
@article{https://doi.org/10.1002/ima.22933,
author = {Xia, Xue and Zhan, Kun and Fang, Yuming and Jiang, Wenhui and Shen, Fei},
title = {Lesion-aware network for diabetic retinopathy diagnosis},
journal = {International Journal of Imaging Systems and Technology},
volume = {33},
number = {6},
pages = {1914--1928},
keywords = {attention mechanism, diabetic retinopathy screening, fundus image analysis, lesion segmentation, medical image analysis, multi-task learning},
doi = {https://doi.org/10.1002/ima.22933},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/ima.22933},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/ima.22933},
}
arXiv_version (different with public version)