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

Setup for hyperparameter grid search.

parent 9df9de3a
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,9 @@ if PREDICTAND is 'pr':
BASE_LR = MAX_LR / 4
# optimization parameters
OPTIM_PARAMS = {'lr': BASE_LR, 'weight_decay': 0}
OPTIM_PARAMS = {'lr': BASE_LR,
'weight_decay': 0
}
if OPTIM is torch.optim.SGD:
OPTIM_PARAMS['momentum'] = 0.99 # SGD with momentum
......
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