Closed atifemreyuksel closed 3 years ago
Hi
In my experimenting, I find that the eval mode for the Generator only changes the behavior of the batchnorm layer (as you might already know). I.e. the "eval" mode lets the batchnorm layer uses a running mean and running std that is stored during training, while the "train" mode uses the mean and std calculated from the current batch. Therefore, "eval" mode causes two problems in my case:
Thank you for sharing your experiment results @odegeasslbc.
Hi @odegeasslbc,
Thank you for your amazing work. I have a question about why you commented out the line of taking the model into eval mode. As I remember correctly, the eval mode is not used in test.py of pix2pixHD code.
Is it a good practice for gan models? If not, what is the specific reason of it since I really wonder about it? Also, new random noise is generated for each iteration in eval.py, so the generated images can be different even though model is in eval mode. Thank you for your answer :)