pix2pix-tensorflow icon indicating copy to clipboard operation
pix2pix-tensorflow copied to clipboard

Why there is no difference in using batch_norm function when training and testing?

Open JianqiangRen opened this issue 7 years ago • 1 comments

batch_norm( inputs, decay=0.999, center=True, scale=False, epsilon=0.001, activation_fn=None, param_initializers=None, param_regularizers=None, updates_collections=tf.GraphKeys.UPDATE_OPS, is_training=True, reuse=None, variables_collections=None, outputs_collections=None, trainable=True, batch_weights=None, fused=None, data_format=DATA_FORMAT_NHWC, zero_debias_moving_mean=False, scope=None, renorm=False, renorm_clipping=None, renorm_decay=0.99 )

parameters are listed above, and is_training should be true when model is under traing ,false when testing, but why there is no such difference in these codes?

JianqiangRen avatar Nov 14 '17 11:11 JianqiangRen

Answer is in the paper.

ppwwyyxx avatar Nov 14 '17 12:11 ppwwyyxx