Skip to content

Commit

Permalink
Update lr_schedulers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5thGenDev authored Aug 6, 2023
1 parent 9887db0 commit d837738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lr_schedulers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
def init_lr_scheduler(
optimizer,
lr_scheduler, # learning rate scheduler
epochs,
stepsize=[20, 40], # step size to decay learning rate
gamma=0.1, # learning rate decay
epochs=600,
):
'''
Read this line of code: https://github.com/pytorch/vision/blob/main/references/classification/train.py#L304
Expand Down

0 comments on commit d837738

Please sign in to comment.