We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba4b33 commit d24fe55Copy full SHA for d24fe55
questions/151_stepLR/solution.py
@@ -32,8 +32,4 @@ def get_lr(self, epoch):
32
# to the initial learning rate.
33
current_lr = self.initial_lr * (self.gamma ** num_decays)
34
35
- return current_lr
36
-
37
38
-scheduler = StepLRScheduler(initial_lr=0.1, step_size=5, gamma=0.5)
39
-print(scheduler.get_lr(epoch=9))
+ return current_lr
0 commit comments