Support batch normalization
Batch Normalization was added to Caffe in October 2015. (See https://github.com/BVLC/caffe/pull/3229 and https://github.com/BVLC/caffe/pull/3299). The caffe.proto file in this repo is from April 2015, so it doesn't know about Batch Normalization and can't load newer model definition files.
thanks, are there models in caffe format with batchnorm available? should be quick to add, just need a test. resnets won't work.
@szagoruyko You're saying that you cannot use resnets for this test, or you're saying resnets won't work till you get this test working?
@joshpowell resnets have non-sequential structure which loadcaffe doesn't support now
Hi, could loadcaffe load models in caffe format with batch normalization,now?
@wuhuo714 no
@szagoruyko Will batchnorm be available soon?
@wuhuo714 don't have time unfortunately
@szagoruyko Thanks a lot,anyway!
Hi,@szagoruyko,if my caffemodel has batchnorm layers which loadcaffe can not recognize, can the following layers like Relu get its correponding weights?It has confused me a lot.
@wuhuo714 no, it will ignore layers it can't recognize
Although the layers it can't recognize are ignored, will the weights of these unrecognizable layers be used in the following layers it recoginze? Is that the reason why the following layers like conv can not get their corresponding weights?
@wuhuo714 weights of unrecognized layers will not be loaded at all
@szagoruyko ok, it's very kind of you to answer my doubts!
Hi @szagoruyko, First thank you for your work, your package is very useful for me (and probably for lot of peoples). I'm also interested by loading a caffe model with batch normalization. Is it still not available ?