Coder Social home page Coder Social logo

mtmr-net's Introduction

MTMR-Net

Code for 《Multi-Task Deep Learning with Margin Ranking Loss for Lung Nodule Analysis》 Project.


Author LIU Lihao
E-mail [email protected]

Introduction

This is the pytorch implementation for 《MTMR-Net: Multi-Task Deep Learning with Margin Ranking Loss for Lung Nodule Analysis》

We can output a more robust benign-malignant classification result with persuasive semantic feature scores compared to other CAD techniques which can only output classification results, as shown in the figures. image

Requirement

Python 2.7.13

PyTorch == 0.3.0

tensorboardX == 0.9

numpy == 1.14.3

Installation

pytorch: http://pytorch.org/

tensorboardX: https://github.com/lanpa/tensorboard-pytorch

Download and unzip this project: MTMR-net-master.zip.

Download and unzip preprocessed data into "./data/" folder:
https://drive.google.com/open?id=1xFRQBzuQLv4fO5ecsyKnPc5u2D2N9e76

Download resnet50 model into "./logs/middle_result_logs/imagenet/" folder from pytorch website:
https://download.pytorch.org/models/resnet50-19c8e357.pth

Dataset:

1.Original Dataset:

Original LIDC-IDRI dataset can be found in the official website:
https://wiki.cancerimagingarchive.net/display/Public/LIDC-IDRI

The preprocessing methods can be found in below 2 links:
https://github.com/zhwhong/lidc_nodule_detection
https://github.com/jcausey-astate/NoduleX_code

2.Preprocessed Data:

Find the preprocessed data(2d slices) which can be used directly in the code from Installation section.

Todos

  • Modify the args.yaml, add the parameters your deep learning model need under the "running_params" item. Details are shown in another project: https://github.com/CaptainWilliam/Deep-Learning-Model-Saving-Helper
  • Pass the running_params (a python dict which contains the running parameters) to you own model.
  • The first parameter "is_training" is True for training mode, "is_training" is False for test mode.
  • Finish you mode(training or test), and run it.
$ cd MTMR-NET-master
$ python main.py

Acknowledgement

😙Thanks my dearest brother yong for this beautiful figure.

mtmr-net's People

Contributors

lihaoliu-cambridge avatar

Watchers

 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.