forked from Snow-Crash/snn-iir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snn_mlp_2_poisson_input.yaml
100 lines (89 loc) · 1.25 KB
/
snn_mlp_2_poisson_input.yaml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
experiment_name:
snn_mlp_2_poisson_input
pytorch_seed:
2
hyperparameters:
# default parameters
length:
25
batch_size:
64
epoch:
100
droupout:
0.3
tau_m:
4
filter_tau_m:
4
filter_tau_s:
1
train_coefficients:
True
train_bias:
True
membrane_filer:
False
optimizer:
optimizer_choice:
'Adam'
Adam:
lr: 0.0001
AdamW:
lr: 0.0001
SGD:
lr: 0.0001
scheduler:
scheduler_choice:
'MultiStepLR'
MultiStepLR:
milestones:
- 50
- 100
gamma:
0.1
CosineAnnealingWarmRestarts:
T_0:
1000
CyclicLR:
base_lr:
0.0001
max_lr:
0.001
step_size_up:
2000
transform:
RandomResizedCrop:
size:
28
scale:
- 0.85
- 1.0
ratio:
- 0.75
- 1.3333333333333333
interpolation:
2
RandomRotation:
angle:
15
RandomApply:
probability:
0.5
mnist_config:
max_rate:
1
use_transform:
True
# configs for saving checkpoint
save_checkpoint:
True
checkpoint_base_name:
checkpoint_
checkpoint_base_path:
./checkpoint/
# the checkpoint used for test
test_checkpoint_path:
./checkpoint/pretrained_snn_mlp_2_poisson_input
acc_file_name:
'snn_mlp_acc.csv'