wtfml icon indicating copy to clipboard operation
wtfml copied to clipboard

Scheduler call

Open RJaikanth opened this issue 4 years ago • 0 comments

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:

RJaikanth avatar Sep 11 '20 17:09 RJaikanth