5,337
edits
Line 198: | Line 198: | ||
}} | }} | ||
===Batch Normalization=== | <!-- ===Batch Normalization=== | ||
Batchnorm has 3 variables: beta, mean, variance. However, these are not all stored in trainable variables. Thus, you must explicity list them in <code>tf.Saver</code> or use <code>var_list=tf.global_variables()</code>. | Batchnorm has 3 variables: beta, mean, variance. However, these are not all stored in trainable variables. Thus, you must explicity list them in <code>tf.Saver</code> or use <code>var_list=tf.global_variables()</code>. | ||
See [https://stackoverflow.com/questions/54186376/saving-tensorflow-model-that-uses-batchnorm SO: Saving TF model w/ batchnorm] | See [https://stackoverflow.com/questions/54186376/saving-tensorflow-model-that-uses-batchnorm SO: Saving TF model w/ batchnorm] | ||
--> | |||
==Estimators== | ==Estimators== |