-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
67 lines (52 loc) · 1.08 KB
/
config.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""
This file may be deprecated.
"""
USER = 'david'
if USER == 'philipp':
DO_NOT_COPY = []
# dataset
NAT_IM_BASE = 'data/natural_images'
DATA_FOLDER = 'data'
DATASET = 'mnist'
NUM_CLASSES = 10
IN_DIM = 3
EXP_FOLDER = './experiments'
PRINT_FREQUENCY = 100
# model
USE_PRETRAINED = False
WEIGHT_IDS = {
}
# default training values
LR = 0.001
WD = 0.00001
BS = 16
MOM = 0.9
CS = 224
MT = 'resnet18'
OPT = 'Adam'
if USER == 'david':
DO_NOT_COPY = []
# dataset
NAT_IM_BASE = 'data/natural_images'
DATA_FOLDER = 'data'
DATASET = 'mnist'
NUM_CLASSES = 10
IN_DIM = 3
EXP_FOLDER = './experiments'
PRINT_FREQUENCY = 100
LOG_TB = True
# model
USE_PRETRAINED = False
WEIGHT_IDS = {
'custom_net_layer5_dim8': '14M3uC29aAx2AMeCeidLQjqjkVpGqnb6k'
}
# default training values
LR = 0.001
WD = 0.00001
BS = 16
MOM = 0.9
CS = 224
MT = 'custom_net'
OPT = 'Adam'
FEATURES_OUT = "data/mnist_features/"
DO_NOT_COPY += [EXP_FOLDER]