-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharch.json
89 lines (81 loc) · 2.11 KB
/
arch.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
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
{
"features": {
"type": "sequential",
"layers": {
"conv1": {
"operation": "conv2d",
"params": {
"kernel_size": 5,
"stride": 1,
"padding": 2,
"dilation": 1,
"number_of_kernels_per_marker": 32,
"out_channels": 64
}
},
"activation": {
"operation": "relu",
"params": {
"inplace": true
}
},
"pool": {
"operation": "max_pool2d",
"params": {
"kernel_size": 2,
"stride": 4,
"padding": 0
}
},
"norm1": {
"operation": "batch_norm2d",
"params": {}
}
}
},
"classifier": {
"layers": {
"linear1": {
"operation": "linear",
"params": {
"in_features": -1,
"out_features": 512
}
},
"relu3": {
"operation": "relu",
"params": {
"inplace": true
}
},
"drop1": {
"operation": "dropout",
"params": {}
},
"linear2": {
"operation": "linear",
"params": {
"in_features": 512,
"out_features": 512
}
},
"relu4": {
"operation": "relu",
"params": {
"inplace": true
}
},
"drop2": {
"operation": "dropout",
"params": {}
},
"linear3": {
"operation": "linear",
"params": {
"in_features": 512,
"out_features": 2
}
}
}
}
}