yumingj / C2-Matching

Code for C2-Matching (CVPR2021). Paper: Robust Reference-based Super-Resolution via C2-Matching.
https://yumingj.github.io/projects/C2_matching.html
Apache License 2.0
199 stars 34 forks source link

No scheduler.step() call #5

Closed P0lyFish closed 3 years ago

P0lyFish commented 3 years ago

Hi, thanks for your interesting work. I cannot find any scheduler.step() call in your code, even though there are several scheduler setups (In training logs, lr is always constant during the training process). Is this a bug or is it intentional?

yumingj commented 3 years ago

Hi, thanks for your interest in our work!

The scheduler.step() is called in the update_learning_rate funciton of base_model.py, line 165.

You can set the learning rate update scheme in config files. If you use my configuration, taking the training of stage 3 as an example, the learning rate would be changed after 72, 545 iterations and 211, 040 iterations.

P0lyFish commented 3 years ago

That's answer my question. I will close this issue.