wtfml
wtfml copied to clipboard
Scheduler call
Hello Abhishek,
I see that in the engine, scheduler is being called every (b_idx + 1) / self.acc_steps, that is effectively every batch if acc_steps = 1
But in various implementations, I have seen that sechuler.step() is called after the validation step. Can you provide some insight as to why you have used a scheduler in this manner?
Another question, let's say I am using ReduceLROnPlateau which requires I pass a metric in step.step(). How do we use engine related to that?
Thanks in advance :smile: