Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I am aware that the BatchNormalization layer is already much discussed in the Keras docs because of its different behavior during training and inference. However, the fact that the "gamma" parameter of my BatchNormalization layers updated even if I set the "training" argument to False when calling them surprises me a bit. After reading the docs I thought to have understood that it is important to freeze these layers completely when finetuning models and that (for the special case of BatchNormalization Layers) this can be achieved by setting the "training" argument to False when calling the layers. While this special behavior proved true for the "moving_mean" and "moving_variance" parameters of the layers it did not for the "gamma" parameter. Is this intended?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.