GithubHelp home page GithubHelp logo

mahendrathapa / mura Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 2.25 MB

Research project using Standford's Musculoskeletal Radiographs (MURA) dataset to detect Abnormality

Python 76.84% Shell 0.61% HTML 3.09% CSS 1.32% JavaScript 18.14%
pytorch mura densenet

mura's Introduction

This repo is dedicated for our attempt in research using Standford's Musculoskeletal Radiographs (MURA) dataset to detect abnormality

Set up conda environment

bash setup.sh

Activate conda environment

conda activate mura

Train Model

python main.py --env server --mode train

Inference from Model

python main.py --env server --mode predict --run_id <unique identifier> --model_checkpoint <saved model present inside out/<run_id>/checkpoints> --predict_data_dir <image dir for inference>

Back-End: Run the Flask Server

Flask serves the trained model through API, before serving, we need to update the RUN_ID and MODEL_NAME in src/constant.py

python -m src.api

Front-End

Front-End App is developed in React.

To host the front end, change to the dir:

cd src/frontend

Install React Dependency

yarn

Run Front-End

yarn start

Our Trained Model

* Download link for latest model: 
      - https://drive.google.com/drive/folders/1pnME9FFNsNJ8WJcuofn33PbExCN-XzzM?usp=sharing
* Create necessary folder structure: out/<run_id>/checkpoints
* Move the downloaded model inside: out/<run_id>/checkpoints

Citation

@ARTICLE{2017arXiv171206957R,
       author = {{Rajpurkar}, Pranav and {Irvin}, Jeremy and {Bagul}, Aarti and
         {Ding}, Daisy and {Duan}, Tony and {Mehta}, Hershel and {Yang}, Brand
        on and {Zhu}, Kaylie and {Laird}, Dillon and {Ball}, Robyn L. and
         {Langlotz}, Curtis and {Shpanskaya}, Katie and {Lungren}, Matthew P. and
         {Ng}, Andrew Y.},
        title = "{MURA: Large Dataset for Abnormality Detection in Musculoskeletal Radiographs}",
      journal = {arXiv e-prints},
     keywords = {Physics - Medical Physics, Computer Science - Artificial Intelligence},
         year = "2017",
        month = "Dec",
          eid = {arXiv:1712.06957},
        pages = {arXiv:1712.06957},
archivePrefix = {arXiv},
       eprint = {1712.06957},
 primaryClass = {physics.med-ph},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2017arXiv171206957R},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

mura's People

Contributors

bipin-fm avatar dependabot[bot] avatar miranghimire avatar miranghimire-fm avatar saurssauravjs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

bipin-lekhak

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.