I notice that there are two methods in class Pix2PixTrainer that have same name and arguments, def update_learning_rate(self, epoch). One is doing the right things and the other is just calling another (or itself). I don't know what it will cause. Are there possibility of running into infinite recursion?
As i run this code, nothing strange happens, but this is quite confusing. Do i need to comment one of them?
I notice that there are two methods in class Pix2PixTrainer that have same name and arguments,
def update_learning_rate(self, epoch)
. One is doing the right things and the other is just calling another (or itself). I don't know what it will cause. Are there possibility of running into infinite recursion?As i run this code, nothing strange happens, but this is quite confusing. Do i need to comment one of them?