Giter VIP home page Giter VIP logo

mtmr-net's Introduction

MTMR-Net

Code for Multi-Task Deep Model with Margin Ranking Loss for Lung Nodule Analysis on IEEE Transactions on Medical Imaging (TMI).

Introduction

This repository provides the PyTorch implementation for our TMI paper "Multi-Task Deep Model with Margin Ranking Loss for Lung Nodule Analysis". Our model 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. image

Requirement

Python == 2.7.13
PyTorch == 0.3.0
tensorboardX == 0.9
numpy == 1.14.3

Installation

Download and unzip this project:

git clone https://github.com/lihaoliu-cambridge/mtmr-net.git
cd mtmr-net

Download resnet50.pth into ./logs/middle_result_logs/imagenet/ folder.

Dataset

Download the original LIDC-IDRI dataset into ./data/ folder

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

Running

  • Modify the args.yaml, add the parameters of your deep learning model under the "running_params" item. Details are shown in deep-learning-model-saving-helper project.

  • 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
    python main.py

Citation

If you use our code for your research, please cite our paper:

@article{liu2019multi,
  title={Multi-task deep model with margin ranking loss for lung nodule analysis},
  author={Liu, Lihao and Dou, Qi and Chen, Hao and Qin, Jing and Heng, Pheng-Ann},
  journal={IEEE transactions on medical imaging},
  volume={39},
  number={3},
  pages={718--728},
  year={2019},
  publisher={IEEE}
}

Question

Please open an issue or email [email protected] for any questions.

Acknowledgement

😙Thanks my dearest brother Yong for this beautiful figure.

mtmr-net's People

Contributors

lihaoliu-cambridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mtmr-net's Issues

About Data Preprocessing

Hi, Lihao, Thanks for your great work!
I am wondering:
Do I need to use the code in https://github.com/jcausey-astate/NoduleX_code to preprocess my original LIDC dataset firstly before doing any model training ?
Or I just have to put the original LIDC dataset under './data' and your code can preprocess them automatically ?

code

hello, i'm confused about the code below, the dateset don't provide the csv and pkl file

  1. file_list = glob(original_data_path + "Images_3/" + "*.mhd")
  2. csv_info = pd.read_csv(os.path.join(original_csvfiles_path, "CSVFILES", "annotations_xml_voxel.csv"))
  3. f = open("/home/lhliu/Onepiece/project/PythonProjects/bmdiagnosis_research/data/"
    "output_data/preprocessing_related/LIDC_mask_all.pkl")

please tell where is wrong, thanks a lot!

constructorError in yaml file

I am getting this error while ruuning the code

raise ConstructorError(None, None, yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/tuple'
in "./conf/log.yaml", line 32, column 18

Kindly please help me understand and solve the error

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.