Spot why this StepLR scheduler decays the rate far too fast.
scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=10, gamma=0.1) for epoch in range(50): for batch in loader: train_step(batch) optimizer.step() scheduler.step()
What is the bug in this scheduling loop?