We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果想要保存跟新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) 但是好像没找到相关内容,想问作者是不是漏了写了?
The text was updated successfully, but these errors were encountered:
这里设置了updates_collections=None,可以看一下tf.contrib.layers.batch_norm。
updates_collections=None
Sorry, something went wrong.
No branches or pull requests
如果想要保存跟新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)
但是好像没找到相关内容,想问作者是不是漏了写了?
The text was updated successfully, but these errors were encountered: