You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the net_utils.py, or just define the adjust_learning_rate function
defadjust_learning_rate(optimizer, decay=0.1):
"""Sets the learning rate to the initial LR decayed by 0.5 every 20 epochs"""forparam_groupinoptimizer.param_groups:
param_group['lr'] =decay*param_group['lr']
Hi @xanderchf
Thanks for your code!
But I can't find the utils.py , It would be helpful if you can release this part of code.
Thanks!
The text was updated successfully, but these errors were encountered: