tensorflow-generative-model-collections icon indicating copy to clipboard operation
tensorflow-generative-model-collections copied to clipboard

Don't use batch_normalization

Open gauss-clb opened this issue 7 years ago • 0 comments

See here, updates_collections=None which means moving_mean and moving_var won't be put into tf.GraphKeys.UPDATE_OPS. so tf.get_collection(tf.GraphKeys.UPDATE_OPS) is [], I think it's a bug.

But if you just delete updates_collections=None, it can't work. Because there are two graphs for discriminators and there are different moving_mean and moving_var for different graph. So I think you should use different tf.control_dependencies for discriminator and generator.

gauss-clb avatar Jan 31 '18 08:01 gauss-clb