Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BN层问题 #55

Open
lucaslu1987 opened this issue Sep 27, 2019 · 0 comments
Open

BN层问题 #55

lucaslu1987 opened this issue Sep 27, 2019 · 0 comments

Comments

@lucaslu1987
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant