-
Notifications
You must be signed in to change notification settings - Fork 0
/
exp_configs.py
27 lines (24 loc) · 931 Bytes
/
exp_configs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from haven import haven_utils as hu
EXP_GROUPS = {}
EXP_GROUPS['trancos'] = {"dataset": {'name':'trancos',
'transform':'rgb_normalize'},
"model": {'name':'lcfcn','base':"fcn8_vgg16"},
"batch_size": [1,5,10],
"max_epoch": [100],
'dataset_size': [
{'train':5, 'val':5},
# {'train':'all', 'val':'all'},
],
'optimizer':['adam'],
'lr':[1e-5]
}
EXP_GROUPS['shanghai'] = {"dataset": {'name':'shanghai',
'transform':'rgb_normalize'},
"model": {'name':'lcfcn','base':"fcn8_vgg16"},
"batch_size": [1],
"max_epoch": [100],
'dataset_size': {'train':'all', 'val':'all'},
'optimizer':['adam'],
'lr':[1e-5]
}
EXP_GROUPS = {k: hu.cartesian_exp_group(v) for k, v in EXP_GROUPS.items()}