Giter Club home page Giter Club logo

vertebra-landmark-detection's Introduction

Vertebra-Focused-Landmark-Detection-Pytorch

Vertebra-Focused Landmark Detection for Scoliosis Assessment [arXiv]

Accepted to ISBI2020.

Please cite the article in your publications if it helps your research:

@article{yi2020vertebra,
  title={Vertebra-Focused Landmark Detection for Scoliosis Assessment},
  author={Yi, Jingru and Wu, Pengxiang and Huang, Qiaoying and Qu, Hui and Metaxas, Dimitris N},
  booktitle={ISBI},
  year={2020}
}

Dependencies

Ubuntu 14.04, Python 3.6.4, PyTorch 1.1.0, OpenCV-Python 4.1.0.25

How to start

Prepare Dataset

To directly use dataset.py, you can arrange the dataset as follows:

/dataPath/data
	/train/*.jpg
	/val/*.jpg
	/test/*.jpg
/dataPath/labels/
	/train/*.mat
	/val/*.mat
	/test/*.mat

The source dataset is from [dataset16]. To adapt the code to your own dataset, you can modify the dataset.py, for example, change the 'load_gt_pts' function to adapt it to your own annotations. The pretrained weights can be downloaded here.

Train the model

python main.py --data_dir dataPath --epochs 50 --batch_size 2 --dataset spinal --phase train

Test the model

python main.py --resume weightPath --data_dir dataPath --dataset spinal  --phase test

Evaluate the model

python main.py --resume weightPath --data_dir dataPath --dataset spinal --phase eval

vertebra-landmark-detection's People

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.