Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.24 KB

README.md

File metadata and controls

47 lines (31 loc) · 2.24 KB

About

Codes for paper Automatic Knee Osteoarthritis Diagnosis from Plain Radiographs: A Deep Learning-Based Approach.

Aleksei Tiulpin, Jérôme Thevenot, Esa Rahtu, Petri Lehenkari, and Simo Saarakkala, 2017.

Background

Osteoarthritis (OA) is the 11th highest disability factor and it is associated with the cartilage and bone degeneration in the joints. The most common type of is knee OA and it is causing an extremly high economical burden to the society while being difficult to diagnose. In this study we present a novel Deep Learning-based approach to diagnose knee osteoarthritis from plain radiographs (X-ray images).

Benchmarks and how-to-run

Here we present the training codes and the pretrained models from each of our experiments. Please, see the paper for more details.

To train the networks, you should install the following main dependencies:

  • Python 3
  • pytorch with CUDA support
  • PIL
  • matplotlib
  • Jupyter Notebook (to work with attention maps)
  • tqdm
  • visdom
  • numpy
  • termcolor
  • torchvision

We recommend to create a virtual environment with the aforemention packages. To run the training, run the corresponding bash files (validation is visualized in visdom). Before running, edit the beginnign of the file to activate your virtual environment.

However, you can run the codes as they are and just use the parameters fixed in the bash scripts.

Attention maps examples

Our model learns localized radiological findings as we imposed prior anatomical knowledge to teh network architecture. Here are some examples of attention maps and predictions (Kellgren-Lawrence grade 2 ground truth):

TODO

  • Codes for the main experiements (Supplementary information)
  • MOST and OAI cohorts bounding box annotations
  • Datasets generation scripts
  • More benchmarks with the pre-trained models (e.g. DenseNets and Deeper ResNets)
  • Better documentation

License

This code is freely available only for research purpuses.