zhouxingshi commited on
Commit
fa3e6da
·
1 Parent(s): c303ecb

Clean up configs

Browse files
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ __pycache__
2
+ *.compiled
cifar/gelu_4fc_100/config.yaml CHANGED
@@ -8,8 +8,6 @@ model:
8
  Customized("../models/gelu.py", "gelu_4fc_100")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
11
- attack:
12
- pgd_order: before
13
  solver:
14
  batch_size: 512
15
  min_batch_size_ratio: 0
@@ -23,8 +21,3 @@ bab:
23
  pruning_in_iteration: false # bug
24
  branching:
25
  method: nonlinear
26
- candidates: 1
27
- nonlinear_split:
28
- num_branches: 2
29
- method: shortcut
30
-
 
8
  Customized("../models/gelu.py", "gelu_4fc_100")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
 
 
11
  solver:
12
  batch_size: 512
13
  min_batch_size_ratio: 0
 
21
  pruning_in_iteration: false # bug
22
  branching:
23
  method: nonlinear
 
 
 
 
 
cifar/gelu_4fc_200/config.yaml CHANGED
@@ -8,8 +8,6 @@ model:
8
  Customized("../models/gelu.py", "gelu_4fc_200")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
11
- attack:
12
- pgd_order: before
13
  solver:
14
  batch_size: 256
15
  min_batch_size_ratio: 0
@@ -22,8 +20,4 @@ solver:
22
  bab:
23
  pruning_in_iteration: false # bug
24
  branching:
25
- method: nonlinear
26
- candidates: 1
27
- nonlinear_split:
28
- num_branches: 2
29
- method: shortcut
 
8
  Customized("../models/gelu.py", "gelu_4fc_200")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
 
 
11
  solver:
12
  batch_size: 256
13
  min_batch_size_ratio: 0
 
20
  bab:
21
  pruning_in_iteration: false # bug
22
  branching:
23
+ method: nonlinear
 
 
 
 
cifar/gelu_4fc_500/config.yaml CHANGED
@@ -8,8 +8,6 @@ model:
8
  Customized("../models/gelu.py", "gelu_4fc_500")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
11
- attack:
12
- pgd_order: before
13
  solver:
14
  min_batch_size_ratio: 0
15
  batch_size: 128
@@ -22,8 +20,4 @@ solver:
22
  bab:
23
  pruning_in_iteration: false # bug
24
  branching:
25
- method: nonlinear
26
- candidates: 1
27
- nonlinear_split:
28
- num_branches: 2
29
- method: shortcut
 
8
  Customized("../models/gelu.py", "gelu_4fc_500")
9
  path: ${CONFIG_PATH}/model.pth
10
  input_shape: [-1, 3, 32, 32]
 
 
11
  solver:
12
  min_batch_size_ratio: 0
13
  batch_size: 128
 
20
  bab:
21
  pruning_in_iteration: false # bug
22
  branching:
23
+ method: nonlinear
 
 
 
 
eran/sigmoid_6_100/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.015
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 2048
@@ -22,10 +20,8 @@ solver:
22
  iteration: 50
23
  bab:
24
  timeout: 300
25
- pruning_in_iteration: false # bug
26
  branching:
27
  method: nonlinear
28
- candidates: 1
29
  nonlinear_split:
30
- num_branches: 3
31
  loose_tanh_threshold: 5
 
9
  end: 100
10
  specification:
11
  epsilon: 0.015
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 2048
 
20
  iteration: 50
21
  bab:
22
  timeout: 300
23
+ pruning_in_iteration: false
24
  branching:
25
  method: nonlinear
 
26
  nonlinear_split:
 
27
  loose_tanh_threshold: 5
eran/sigmoid_6_200/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.012
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 1024
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 5
 
9
  end: 100
10
  specification:
11
  epsilon: 0.012
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 1024
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 5
eran/sigmoid_9_100/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.015
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 2048
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 5
 
9
  end: 100
10
  specification:
11
  epsilon: 0.015
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 2048
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 5
eran/sigmoid_conv_small/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.014
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 64
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 5
 
9
  end: 100
10
  specification:
11
  epsilon: 0.014
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 64
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 5
eran/tanh_6_100/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.006
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 2048
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 2
 
9
  end: 100
10
  specification:
11
  epsilon: 0.006
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 2048
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 2
eran/tanh_6_200/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.002
12
- attack:
13
- pgd_order: before
14
  solver:
15
  batch_size: 1024
16
  early_stop_patience: 100
@@ -22,10 +20,8 @@ solver:
22
  iteration: 25
23
  bab:
24
  timeout: 300
25
- pruning_in_iteration: false # bug
26
  branching:
27
  method: nonlinear
28
- candidates: 1
29
  nonlinear_split:
30
- num_branches: 3
31
  loose_tanh_threshold: 2
 
9
  end: 100
10
  specification:
11
  epsilon: 0.002
 
 
12
  solver:
13
  batch_size: 1024
14
  early_stop_patience: 100
 
20
  iteration: 25
21
  bab:
22
  timeout: 300
23
+ pruning_in_iteration: false
24
  branching:
25
  method: nonlinear
 
26
  nonlinear_split:
 
27
  loose_tanh_threshold: 2
eran/tanh_9_100/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.006
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 2048
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 2
 
9
  end: 100
10
  specification:
11
  epsilon: 0.006
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 2048
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 2
eran/tanh_conv_small/config.yaml CHANGED
@@ -9,8 +9,6 @@ data:
9
  end: 100
10
  specification:
11
  epsilon: 0.005
12
- attack:
13
- pgd_order: before
14
  solver:
15
  min_batch_size_ratio: 0
16
  batch_size: 64
@@ -23,10 +21,8 @@ solver:
23
  iteration: 25
24
  bab:
25
  timeout: 300
26
- pruning_in_iteration: false # bug
27
  branching:
28
  method: nonlinear
29
- candidates: 1
30
  nonlinear_split:
31
- num_branches: 3
32
  loose_tanh_threshold: 2
 
9
  end: 100
10
  specification:
11
  epsilon: 0.005
 
 
12
  solver:
13
  min_batch_size_ratio: 0
14
  batch_size: 64
 
21
  iteration: 25
22
  bab:
23
  timeout: 300
24
+ pruning_in_iteration: false
25
  branching:
26
  method: nonlinear
 
27
  nonlinear_split:
 
28
  loose_tanh_threshold: 2
ml4acopf/config.yaml CHANGED
@@ -27,6 +27,5 @@ bab:
27
  method: nonlinear
28
  candidates: 200
29
  nonlinear_split:
30
- method: bbps
31
  filter: true
32
- filter_beta: true
 
27
  method: nonlinear
28
  candidates: 200
29
  nonlinear_split:
 
30
  filter: true
31
+ filter_beta: true