NKUhealong / CABnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CABNet

This repository contains the Keras implementation using Tensorflow as backend of our paper "CABNet: Category Attention Block for Imbalanced Diabetic Retinopathy Grading"

Requirements

python 3.6

numpy 1.16.4

keras 2.3.1

tensorflow 1.13.1

pillow 7.0.0

opencv-python 4.1.0

Trained models

The trained model : Baidu Yun : https://pan.baidu.com/s/1G2tKYNvqP7jmCl-svC1cfA password: kjga
Google Drive:https://drive.google.com/drive/folders/1GNn3tj7WTLPjdOJUZqItui58DDQtYrsS?usp=sharing

Usage

  1. Clone the repository, and download the trained model, put them into 'weights' folder, you can run test.py to test the model directly. The details of the trained model are listed in details of trained models.txt file.

  2. If you want to train the model, download the dataset and put them intodata folder.

  3. And then run the code:python train.py Note that the parameters and paths should be set beforehand

  4. Once the training is complete, you can run the test.py to test your model. Run the code : python test.py.

LICENSE

Code can only be used for ACADEMIC PURPOSES. NO COMERCIAL USE is allowed. Copyright © College of Computer Science, Nankai University. All rights reserved.

Citation

@article{he2020cabnet,
title={CABNet: Category attention block for imbalanced diabetic retinopathy grading},
author={He, Along and Li, Tao and Li, Ning and Wang, Kai and Fu, Huazhu},
journal={IEEE Transactions on Medical Imaging},
volume={40},
number={1},
pages={143--153},
year={2020},
publisher={IEEE}
}

About

License:MIT License


Languages

Language:Python 100.0%