-
Notifications
You must be signed in to change notification settings - Fork 10
/
M1.json
33 lines (32 loc) · 2.56 KB
/
M1.json
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
{"layers":
[
{"class": "Conv1D", "module":"tf.keras.layers", "args": {"filters":8, "kernel_size":5, "padding":"same", "activation":"elu", "strides":1}},
{"class": "BatchNormalization", "module":"tf.keras.layers", "args": {}},
{"class": "ResidualBlock2", "module":"utils.layers", "args": {"filters":8, "kernel_size":5}},
{"class": "MaxPool1D", "module":"tf.keras.layers", "args": {"pool_size":5, "strides":2, "padding":"same"}},
{"class": "Conv1D", "module":"tf.keras.layers", "args": {"filters":8, "kernel_size":5, "padding":"same", "activation":"elu"}},
{"class": "BatchNormalization", "module":"tf.keras.layers", "args": {}},
{"class": "Flatten", "module":"tf.keras.layers", "args": {}},
{"class": "Dropout", "module":"tf.keras.layers", "args": {"rate":0.01}},
{"class": "Dense", "module":"tf.keras.layers", "args": {"units":75}},
{"class": "Dropout", "module":"tf.keras.layers", "args": {"rate":0.01}},
{"class": "Dense", "module":"tf.keras.layers", "args": {"units":75, "activation":"elu"}},
{"class": "Dense", "module":"tf.keras.layers", "encoding" : true, "args": {"units":2, "name":"encoded"}},
{"class": "Dense", "module":"tf.keras.layers", "args": {"units":75, "activation":"elu"}},
{"class": "Dropout", "module":"tf.keras.layers", "args": {"rate":0.01}},
{"class": "Dense", "module":"tf.keras.layers", "args": {"units":75, "activation":"elu"}},
{"class": "Dropout", "module":"tf.keras.layers", "args": {"rate":0.01}},
{"class": "Dense", "module":"tf.keras.layers", "args": {"units":"ns[1]*8"}},
{"class": "Reshape", "module":"tf.keras.layers", "args": {"target_shape":"(ns[1],8)", "name":"i_msvar"}},
{"class": "Conv1D", "module":"tf.keras.layers", "args": {"filters":8, "kernel_size":5, "padding":"same", "activation":"elu"}},
{"class": "BatchNormalization", "module":"tf.keras.layers", "args": {}},
{"class": "Reshape", "module":"tf.keras.layers", "args": {"target_shape":"(ns[1],1,8)"}},
{"class": "UpSampling2D", "module":"tf.keras.layers", "args": {"size":"(2,1)"}},
{"class": "Reshape", "module":"tf.keras.layers", "args": {"target_shape":"(ns[1]*2,8)"}},
{"class": "ResidualBlock2", "module":"utils.layers", "args": {"filters":8, "kernel_size":5}},
{"class": "Conv1D", "module":"tf.keras.layers", "args": {"filters":8, "kernel_size":5, "padding":"same", "activation":"elu", "name":"nms"}},
{"class": "BatchNormalization", "module":"tf.keras.layers", "args": {}},
{"class": "Conv1D", "module":"tf.keras.layers", "args": {"filters":1, "kernel_size":1, "padding":"same"}},
{"class": "Flatten", "module":"tf.keras.layers", "args": {"name":"logits"}}
]
}