I encountered a different output of the same image during the test.
Looked at the nets/pix2pix.py file, it seems that the batch_norm function does not set the is_training flag. And when defining the optimizer, it does not add a dependency on UPDATE_OPS.
tf.contrib.layers.batch_norm
Is it because the network training can't learn a good mean and variance, so that the is_training state of the BN layer is forced to be True? But this results in different outputs when the batch size is different.
Looking forward to your reply! Thank you.
I encountered a different output of the same image during the test.
Looked at the nets/pix2pix.py file, it seems that the batch_norm function does not set the is_training flag. And when defining the optimizer, it does not add a dependency on UPDATE_OPS.
tf.contrib.layers.batch_norm
Is it because the network training can't learn a good mean and variance, so that the is_training state of the BN layer is forced to be True? But this results in different outputs when the batch size is different.
Looking forward to your reply! Thank you.