NVlabs / SPADE

Semantic Image Synthesis with SPADE
https://nvlabs.github.io/SPADE/
Other
7.61k stars 980 forks source link

Two update_learning_rate with same name #152

Open Zhiozhio opened 3 years ago

Zhiozhio commented 3 years ago

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?