项目作者: wataruhashimoto52

项目描述 :
Inference Algorithms for Bayesian Deep Learning
高级语言: Python
项目地址: git://github.com/wataruhashimoto52/bayesian-deep-learning.git


Inference Algorithms for Bayesian Deep Learning.

Experiments

  • Classification (CIFAR-10, ImageNet, etc…)
  • Regression (UCI 3D Road data)

Algorithms

  • Adam (Non-Bayesian)
  • Stochastic Gradient Langevin Dynamics (SGLD)
  • preconditioned Stochastic Gradient Langevin Dynamics (pSGLD)
  • Stochastic Gradient Hamiltonian Monte Carlo (SGHMC)
  • Kronecker-Factored Approximate Curvature (KFAC)
  • noisy KFAC
  • Variational Online Gauss Newton (VOGN)

How to run.

  • (nvidia-docker) Setup
  1. $ docker build -t bnns:0.1 .
  2. $ docker run --rm --gpus all -it bnns:0.1 /bin/bash
  • Classification (CIFAR-10)
  1. $ python src/main_classification.py --download True --config <path/to/config>
  • Regression (UCI 3D Road data)
  1. $ python src/main_regression.py --config <path/to/config> --log_name hoge

or

  1. $ python src/main_regression.py --optim_name <optimizer object name> --log_name hoge

Reference

Papers

Experimental Codes