├── .gitignore ├── LICENSE ├── README.md ├── figures ├── lenet_conv.png ├── lenet_fc.png └── vgg-like.png └── src ├── experiments ├── compute_flops_lenet.py ├── compute_flops_vgg.py ├── draw_figures.py ├── flops │ ├── compute_flops_lenet_conv.py │ ├── compute_flops_lenet_dense.py │ ├── compute_flops_vgg.py │ ├── flops_lenet_conv.csv │ └── flops_lenet_dense.csv ├── memory │ ├── lenet_conv_mem.csv │ ├── lenet_dense_mem.csv │ ├── script_lenet_conv.py │ ├── script_lenet_dense.py │ ├── script_vgg.py │ └── utils.py ├── model ├── parse.py ├── run.py ├── summary.py ├── test_benchmark.py └── utils ├── model ├── __init__.py ├── __init__.pyc ├── __pycache__ │ └── __init__.cpython-35.pyc ├── bbdropout.py ├── bbdropout.pyc ├── dbbdropout.py ├── dbbdropout.pyc ├── gendropout.py ├── gendropout.pyc ├── layers.py ├── layers.pyc ├── lenet.py ├── lenet.pyc ├── misc.py ├── misc.pyc ├── net.py ├── net.pyc ├── sbp.py ├── sbp.pyc ├── vgg.py ├── vgg.pyc └── vib.py └── utils ├── __init__.py ├── __init__.pyc ├── cifar10.py ├── cifar10.pyc ├── cifar100.py ├── cifar100.pyc ├── logger.py ├── logger.pyc ├── mnist.py ├── mnist.pyc ├── paths.py └── paths.pyc /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/README.md -------------------------------------------------------------------------------- /figures/lenet_conv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/figures/lenet_conv.png -------------------------------------------------------------------------------- /figures/lenet_fc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/figures/lenet_fc.png -------------------------------------------------------------------------------- /figures/vgg-like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/figures/vgg-like.png -------------------------------------------------------------------------------- /src/experiments/compute_flops_lenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/compute_flops_lenet.py -------------------------------------------------------------------------------- /src/experiments/compute_flops_vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/compute_flops_vgg.py -------------------------------------------------------------------------------- /src/experiments/draw_figures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/draw_figures.py -------------------------------------------------------------------------------- /src/experiments/flops/compute_flops_lenet_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/flops/compute_flops_lenet_conv.py -------------------------------------------------------------------------------- /src/experiments/flops/compute_flops_lenet_dense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/flops/compute_flops_lenet_dense.py -------------------------------------------------------------------------------- /src/experiments/flops/compute_flops_vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/flops/compute_flops_vgg.py -------------------------------------------------------------------------------- /src/experiments/flops/flops_lenet_conv.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/flops/flops_lenet_conv.csv -------------------------------------------------------------------------------- /src/experiments/flops/flops_lenet_dense.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/flops/flops_lenet_dense.csv -------------------------------------------------------------------------------- /src/experiments/memory/lenet_conv_mem.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/lenet_conv_mem.csv -------------------------------------------------------------------------------- /src/experiments/memory/lenet_dense_mem.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/lenet_dense_mem.csv -------------------------------------------------------------------------------- /src/experiments/memory/script_lenet_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/script_lenet_conv.py -------------------------------------------------------------------------------- /src/experiments/memory/script_lenet_dense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/script_lenet_dense.py -------------------------------------------------------------------------------- /src/experiments/memory/script_vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/script_vgg.py -------------------------------------------------------------------------------- /src/experiments/memory/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/memory/utils.py -------------------------------------------------------------------------------- /src/experiments/model: -------------------------------------------------------------------------------- 1 | ../model -------------------------------------------------------------------------------- /src/experiments/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/parse.py -------------------------------------------------------------------------------- /src/experiments/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/run.py -------------------------------------------------------------------------------- /src/experiments/summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/summary.py -------------------------------------------------------------------------------- /src/experiments/test_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/experiments/test_benchmark.py -------------------------------------------------------------------------------- /src/experiments/utils: -------------------------------------------------------------------------------- 1 | ../utils -------------------------------------------------------------------------------- /src/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/model/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/__init__.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/__init__.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/__pycache__/__init__.cpython-35.pyc -------------------------------------------------------------------------------- /src/model/bbdropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/bbdropout.py -------------------------------------------------------------------------------- /src/model/bbdropout.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/bbdropout.pyc -------------------------------------------------------------------------------- /src/model/dbbdropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/dbbdropout.py -------------------------------------------------------------------------------- /src/model/dbbdropout.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/dbbdropout.pyc -------------------------------------------------------------------------------- /src/model/gendropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/gendropout.py -------------------------------------------------------------------------------- /src/model/gendropout.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/gendropout.pyc -------------------------------------------------------------------------------- /src/model/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/layers.py -------------------------------------------------------------------------------- /src/model/layers.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/layers.pyc -------------------------------------------------------------------------------- /src/model/lenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/lenet.py -------------------------------------------------------------------------------- /src/model/lenet.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/lenet.pyc -------------------------------------------------------------------------------- /src/model/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/misc.py -------------------------------------------------------------------------------- /src/model/misc.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/misc.pyc -------------------------------------------------------------------------------- /src/model/net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/net.py -------------------------------------------------------------------------------- /src/model/net.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/net.pyc -------------------------------------------------------------------------------- /src/model/sbp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/sbp.py -------------------------------------------------------------------------------- /src/model/sbp.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/sbp.pyc -------------------------------------------------------------------------------- /src/model/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/vgg.py -------------------------------------------------------------------------------- /src/model/vgg.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/vgg.pyc -------------------------------------------------------------------------------- /src/model/vib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/model/vib.py -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/__init__.pyc -------------------------------------------------------------------------------- /src/utils/cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/cifar10.py -------------------------------------------------------------------------------- /src/utils/cifar10.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/cifar10.pyc -------------------------------------------------------------------------------- /src/utils/cifar100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/cifar100.py -------------------------------------------------------------------------------- /src/utils/cifar100.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/cifar100.pyc -------------------------------------------------------------------------------- /src/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/logger.py -------------------------------------------------------------------------------- /src/utils/logger.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/logger.pyc -------------------------------------------------------------------------------- /src/utils/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/mnist.py -------------------------------------------------------------------------------- /src/utils/mnist.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/mnist.pyc -------------------------------------------------------------------------------- /src/utils/paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/paths.py -------------------------------------------------------------------------------- /src/utils/paths.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXAIProject/Variational_Dropouts/HEAD/src/utils/paths.pyc --------------------------------------------------------------------------------