ChenglongChen / batch_normalization

Batch Normalization Layer for Caffe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batch Normalization Layer for Caffe

This implementation of Batch Normalization is based on MVNLayer in Caffe.

To add this layer, you have to modify common_layers.hpp, layer_factory.cpp and caffe.proto. See Caffe wiki

NOTE

This implementation is very basic which just performs batch normalization computation. Two pieces in the paper are still missing here:

  • fixed mean & variance for inference
  • per batch shuffling for thorough randomness

Update log

2016/01/18 An improved version is provided here with moving average statistics for inference.

About

Batch Normalization Layer for Caffe


Languages

Language:C++ 49.3%Language:Protocol Buffer 40.3%Language:Cuda 10.4%