Skip to content
Snippets Groups Projects
Commit a39eb46e authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Set base LR for PR-supersampling task.

parent 5e50d124
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,11 @@ if PREDICTAND is 'pr':
if isinstance(LOSS, MSELoss):
MAX_LR = 0.0004
if isinstance(LOSS, BernoulliGammaLoss):
MAX_LR = 0.0005 if OPTIM is torch.optim.Adam else 0.001
# learning rates for supersampling task
if not any(ERA5_P_PREDICTORS) and ERA5_S_PREDICTORS == 'pr':
MAX_LR = 0.002
else:
MAX_LR = 0.0005 if OPTIM is torch.optim.Adam else 0.001
# base learning rate: MAX_LR / 4 (Smith L. (2017))
BASE_LR = MAX_LR / 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment