Closed amirbar closed 5 years ago
Hi @jcjohnson,
Thanks for sharing the code and for the great work on this.
While looking at the training code, I've came across the following line: https://github.com/google/sg2im/blob/master/scripts/train.py#L510
It seems in this line you switch the model to eval mode (although existence of batchnorm/dropout layers) and create a new optimizer instance.
I'm wondering what is the justifications for this or whether you have found this to be useful for particular reason?
Thanks you so much for your time.
Best, Amir
Hi @jcjohnson,
Thanks for sharing the code and for the great work on this.
While looking at the training code, I've came across the following line: https://github.com/google/sg2im/blob/master/scripts/train.py#L510
It seems in this line you switch the model to eval mode (although existence of batchnorm/dropout layers) and create a new optimizer instance.
I'm wondering what is the justifications for this or whether you have found this to be useful for particular reason?
Thanks you so much for your time.
Best, Amir