Skip to content

Commit d24fe55

Browse files
committed
remove sandbox code
1 parent 7ba4b33 commit d24fe55

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

questions/151_stepLR/solution.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,4 @@ def get_lr(self, epoch):
3232
# to the initial learning rate.
3333
current_lr = self.initial_lr * (self.gamma ** num_decays)
3434

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))
35+
return current_lr

0 commit comments

Comments
 (0)