CNN_LSTM_CTC_Tensorflow icon indicating copy to clipboard operation
CNN_LSTM_CTC_Tensorflow copied to clipboard

关于batch normalization层

Open huyi1989 opened this issue 6 years ago • 1 comments

如果想要保存跟新moving_mean和moving_variance的话,好像要写以下代码: extra_update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS) with tf.control_dependencies(extra_update_ops): train_op = optimizer.minimize(loss) 但是好像没找到相关内容,想问作者是不是漏了写了?

huyi1989 avatar Apr 24 '18 06:04 huyi1989

这里设置了updates_collections=None,可以看一下tf.contrib.layers.batch_norm

watsonyanghx avatar May 04 '18 02:05 watsonyanghx