Code Monkey home page Code Monkey logo

pneumothorax-segmentation's Introduction

Pneumothorax Segmentation

This repository is my solution to this Kaggle competition

Author: Benoît Koenig

Usage:

  • Run the whole training process from scratch: whole_training_from_scratch.sh

  • Training the segmentation model: python -m segmentation.train

  • Training the hydra classifier's body: python -m hydra_classifier.train_hydra_body [resnet50|densenet169]

  • Training the hydra classifier's heads: python -m hydra_classifier.train_hydra_head [resnet50|densenet169] [none|resize|flip_rotate|filter]

  • Evaluating segmentation: python -m evaluate.segmentation

  • Evaluating classification: python -m evaluate.classification

  • Exporting final predictions to results.csv: python -m export_predictions

  • Check data augmentation: python -m visualization.show_data_augment [index]

  • Visualize prediction: python -m visualization.show_prediction [train|test] [index]

  • Show raw data from dicom: python -m visualization.show_raw_data [train|test] [index]

  • Show ground truth mask: python -m visualization.show_true_mask [index]

Note

tensorflow-gpu is not included in requirements.txt as it is not always relevant. To use the GPU, install tensorflow-gpu via "pip install tensorflow-gpu" Currently, the heads of the hydra_classifier are not used for predictions due to a bug. To investigate

pneumothorax-segmentation's People

Contributors

benoitkoenig 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.