GithubHelp home page GithubHelp logo

pytorch_probunet's Introduction

Probabilistic U-Net with MC-Dropout

The code in this repository was developed for the QUBIQ 2021 challenge. We extend the Probabilistic U-Net to estimate model uncertainty (in addition to data uncertainty) using the popular MC-Dropout technique. This approach is inspired from Hu et al., 2019 that uses variational dropout within the Probabilistic U-Net framework to estimate the model uncertainty.

The code for the Probabilistic U-Net has been forked from here. We have restructured the code to enable import as an external module, in addition to changes to handle multi-channel images and uncertainty estimation using MC-Dropout.

UPDATE: Supports low-rank approximation for prior and posterior covariance matrices to capture more expressive distributions. See Monteiro et al. (2020) for background on low-rank approximation of covariance matrices of multivariate Gaussian distributions.

Usage:

Follow these steps to use this model in your project:

  • Clone this repository into a local folder git clone https://github.com/kilgore92/PyTorch_ProbUNet.git

  • Install the model in your python environment python setup.py install

  • Import the model into your script from probabilistic_unet.model import ProbabilisticUnet

If you have any questions, please open a pull-request or issue and I will get back to you.

pytorch_probunet's People

Contributors

ishaanb92 avatar

Stargazers

Reid Chen avatar  avatar

Watchers

 avatar

Forkers

zabboud

pytorch_probunet's Issues

Code exploitation

Thank you for the great idea, please How to use this code to calculate model uncertainty?

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.