tensorflow-generative-model-collections
tensorflow-generative-model-collections copied to clipboard
Don't use batch_normalization
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.