richzhang / colorization

Automatic colorization using deep neural networks. "Colorful Image Colorization." In ECCV, 2016.
http://richzhang.github.io/colorization/
BSD 2-Clause "Simplified" License
3.35k stars 928 forks source link

the implementation of batch normalization in your model #62

Open azshue opened 5 years ago

azshue commented 5 years ago

Hi,

I have a little question about the BatchNorm layer in the model.

In ./colorization/models/colorization_train_val_v2.prototxt, I noticed that you are using BatchNorm layers without Scale layers following behind, so does this mean that you are not using the original definition of BatchNorm that has additional scaling factors and biases?

If my understanding is correct, have you tried BN layers with scaling factors and biases? I am wondering to what degree will this difference affects the training results.