mediumStudy question · answer published in Deep Learning interview questions, so no pointsdeep-learningpytorchlearning-rate-schedules
Where scheduler.step() goes
You use StepLR(optimizer, step_size=30, gamma=0.1) and intend to cut the LR every 30 epochs. Where should scheduler.step() be called?
Discussion 0
Join free to post in the discussion.
Related questions
- Dropout after eval()Machine Learning Engineer
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer
- Why wrap inference in no_gradMachine Learning Engineer
- Logging loss without leaking memoryMachine Learning Engineer