Lornatang / SRGAN-PyTorch

A simple and complete implementation of super-resolution paper.
Apache License 2.0
410 stars 105 forks source link

Scheduler #53

Closed leminhhuy132 closed 2 years ago

leminhhuy132 commented 2 years ago

I don't understand why using define optimizer in line 51 train_srgan.py. Can you help me, thank you!

Lornatang commented 2 years ago

According to the definition of the adjustment method for the learning rate in the paper

leminhhuy132 commented 2 years ago

I mean why "d_scheduler, g_scheduler = define_optimizer(discriminator, generator)" doesn't use define_scheduler function.

Lornatang commented 2 years ago

Thanks for pointing this out, I wrote it wrong

Lornatang commented 2 years ago

This low-level bug has now been fixed....