Giter Site home page Giter Site logo

microsoft / conservative-uncertainty-estimation-random-priors Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 8.0 526 KB

Source code for paper Conservative Uncertainty Estimation By Fitting Prior Networks (ICLR 2020)

License: MIT License

Shell 1.99% Python 98.01%

conservative-uncertainty-estimation-random-priors's Introduction

This repo contains the code for the paper Conservative Uncertainty Estimation By Fitting Prior Networks.

The code requires Python >= 3.6 and a GPU with CUDA and CuDNN installed.

To install the reqirements, run

pip install -r requirements.txt

from the root directory.

All the scripts are in src/scripts and the different uncertainty models are in src/scripts/models. The CIFAR-10 experiments from the paper can be reproduced by running

./reproduce_cifar_experiment.sh

from the src/scripts directory. This should take about 16 hours on a single GPU and will produce three figures in the figures directory that should look like this:

Calibration curves

Distributions

Uncertainties

The different models can be trained using the training script in src/scripts/train_uncertainties.py. The command line options can be shown by running

python train_uncertainties.py --help

The neural network architectures used in this implementation are adapted from David Page and the dropout baseline is adapted from Yarin Gal.

If you want to cite this work, please use

@inproceedings{
Ciosek2020Conservative,
title={Conservative Uncertainty Estimation By Fitting Prior Networks},
author={Kamil Ciosek and Vincent Fortuin and Ryota Tomioka and Katja Hofmann and Richard Turner},
booktitle={International Conference on Learning Representations},
year={2020},
url={https://openreview.net/forum?id=BJlahxHYDS}
}

conservative-uncertainty-estimation-random-priors's People

Contributors

fortuin avatar kaciosek avatar microsoft-github-policy-service[bot] avatar

Stargazers

 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

conservative-uncertainty-estimation-random-priors's Issues

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.