PFLD icon indicating copy to clipboard operation
PFLD copied to clipboard

BN层问题

Open lucaslu1987 opened this issue 6 years ago • 0 comments

看到网络使用了bn层,但是在训练的时候,没有对moving_mean和moving_var更新,这样测试的时候会不会有问题啊。是不是该加上下面代码 update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS) with tf.control_dependencies(update_ops):

lucaslu1987 avatar Sep 27 '19 08:09 lucaslu1987