Giter Club home page Giter Club logo

cd-system-source's Introduction

Development of a deep learning system in detecting corneal diseases from low-quality slit lamp images

create time: 2021.09.10

Introduction

This repository contains the source code for developing a deep learning system in detecting corneal (DC) diseases from low-quality slit lamp images The performance of a deep learning system in detecting corneal diseases from low-quality images can be improved if low-quality images with sufficient diagnostic certainty are added to the training set.

Prerequisites

  • Ubuntu: 18.04 lts
  • Python 3.7.8
  • Pytorch 1.6.0
  • NVIDIA GPU + CUDA_10.0 CuDNN_7.5 This repository has been tested on NVIDIA RTX2080Ti. Configurations (e.g batch size, image patch size) may need to be changed on different platforms.

Installation

Other packages are as follows:

  • wheel
  • yaml
  • scipy
  • joblib
  • opencv-python
  • scikit-image
  • numpy

Install dependencies:

  • pip install -r requirements.txt

Usage

Dataset form

|-data  
    |-train  
       |--label1  
           |--*.jpg  
       |--label2  
           |--*.jpg  
       |--label3      
           |--*.jpg  
    |-val   
     ...  
    |-test   
     ...

Training and Testing

The training and testing are executed as follows:

  • The file "CDtrainingv1.py" in /CD-system-Source is used for our models training.

python3 CDtrainingv1.py --data PATH

  • The file "CDtestingv1.py" in /CD-system-Source is used for testing.

python3 CDtestingv1.py

Please feel free to contact us for any questions or comments: Zhongwen Li, E-mail: [email protected] or Jiewei Jiang, E-mail: [email protected].

cd-system-source's People

Contributors

jiangjiewei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.