bi-att-flow icon indicating copy to clipboard operation
bi-att-flow copied to clipboard

confusion about var_ema

Open kelvinleen opened this issue 6 years ago • 0 comments

in file model.py, _build_var_ema create and var_ema, and apply to all trainable variables, but it didn't use average to update the trainable variables. only in graph_handler.py, when load model from save would use var_ema。
is this a trick? when training, create shadow variables for trainable variables, but dont update them, when predict, use this to initial the variables . if it is, then why?

kelvinleen avatar Oct 13 '17 08:10 kelvinleen