项目作者: homaralex

项目描述 :
Implementation of MNIST experiment for Monte Carlo Dropout from http://mlg.eng.cam.ac.uk/yarin/PDFs/NIPS_2015_bayesian_convnets.pdf
高级语言: Python
项目地址: git://github.com/homaralex/mc-dropout-mnist.git
创建时间: 2018-03-16T14:49:57Z
项目社区:https://github.com/homaralex/mc-dropout-mnist

开源协议:

下载


mc-dropout-mnist

Implementation of (parts of) the experiment on MNIST from Bayesian Convolutional Neural Networks with
Bernoulli Approximate Variational Inference

Standard LeNet architecture without Dropout is compared against a LeNet-all architecture, where Dropout is applied after each layer (including convolutions).
Dropout is kept at test time, and the prediction of the trained model is averaged over T=50 stochastic passes.
The MC-Dropout model achieves an error rate of ~0.6%, compared to ~1% of the non-dropout model.

Required libraries:
tqdm, keras

Tested with Tensorflow and Python 3.