-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZFNet.tex
201 lines (114 loc) · 13.2 KB
/
ZFNet.tex
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
\tikzset{every picture/.style={line width=0.75pt}}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\linespread{1}
\draw (20.75,79.5) -- (107.5,79.5) -- (107.5,166.25) -- (20.75,166.25) -- cycle ;
\draw [color={rgb, 255:red, 251; green, 0; blue, 0 } ,draw opacity=1 ] (53.75,100) -- (76,100) -- (76,122.25) -- (53.75,122.25) -- cycle ;
\draw (65,115) -- (65,134.75) ;
\draw [shift={(65,137.75)}, rotate = 270] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [line width=0.75] (109.74,168.25) -- (124.26,181.25) ;
\draw [shift={(126.5,183.25)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(107.5,166.25)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 251; green, 0; blue, 0 } ,draw opacity=1 ] (151.25,78.5) -- (193,78.5) -- (193,120.25) -- (151.25,120.25) -- cycle ;
\draw [line width=0.75] (195.24,122.25) -- (209.76,135.25) ;
\draw [shift={(212,137.25)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(193,120.25)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw (159.25,153.5) -- (189.5,153.5) -- (189.5,183.75) -- (159.25,183.75) -- cycle ;
\draw (166,141.25) -- (169.13,141.25) -- (169.13,120.5) -- (175.38,120.5) -- (175.38,141.25) -- (178.5,141.25) -- (172.25,151.75) -- cycle ;
\draw [line width=0.75] (191.24,185.25) -- (205.76,198.25) ;
\draw [shift={(208,200.25)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(189,183.25)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 65; green, 117; blue, 5 } ,draw opacity=1 ] (166.25,159) -- (177.5,159) -- (177.5,170.25) -- (166.25,170.25) -- cycle ;
\draw (171.88,165.63) -- (171.88,179.25) ;
\draw [shift={(171.88,182.25)}, rotate = 270] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 65; green, 117; blue, 5 } ,draw opacity=1 ] (270.25,78.25) -- (299.25,78.25) -- (299.25,107.25) -- (270.25,107.25) -- cycle ;
\draw [line width=0.75] (301.74,109.75) -- (316.26,122.75) ;
\draw [shift={(318.5,124.75)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(299.5,107.75)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw (268.25,153) -- (298.5,153) -- (298.5,183.25) -- (268.25,183.25) -- cycle ;
\draw [line width=0.75] (300.24,184.75) -- (314.76,197.75) ;
\draw [shift={(317,199.75)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(298,182.75)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 74; green, 144; blue, 226 } ,draw opacity=1 ] (275.25,158.5) -- (286.5,158.5) -- (286.5,169.75) -- (275.25,169.75) -- cycle ;
\draw (280.88,165.13) -- (280.88,178.75) ;
\draw [shift={(280.88,181.75)}, rotate = 270] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw (277.5,140.75) -- (280.63,140.75) -- (280.63,109) -- (286.88,109) -- (286.88,140.75) -- (290,140.75) -- (283.75,151.25) -- cycle ;
\draw [color={rgb, 255:red, 74; green, 144; blue, 226 } ,draw opacity=1 ] (362.25,76) -- (392.5,76) -- (392.5,106.25) -- (362.25,106.25) -- cycle ;
\draw [line width=0.75] (394.24,107.75) -- (408.76,120.75) ;
\draw [shift={(411,122.75)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(392,105.75)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 255; green, 0; blue, 151 } ,draw opacity=1 ] (369.25,81.5) -- (380.5,81.5) -- (380.5,92.75) -- (369.25,92.75) -- cycle ;
\draw (374.88,88.13) -- (374.88,101.75) ;
\draw [shift={(374.88,104.75)}, rotate = 270] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 255; green, 0; blue, 151 } ,draw opacity=1 ] (433.75,76) -- (464,76) -- (464,106.25) -- (433.75,106.25) -- cycle ;
\draw [line width=0.75] (465.74,107.75) -- (480.26,120.75) ;
\draw [shift={(482.5,122.75)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(463.5,105.75)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 0; green, 255; blue, 219 } ,draw opacity=1 ] (440.75,81.5) -- (452,81.5) -- (452,92.75) -- (440.75,92.75) -- cycle ;
\draw (446.38,88.13) -- (446.38,101.75) ;
\draw [shift={(446.38,104.75)}, rotate = 270] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [color={rgb, 255:red, 0; green, 255; blue, 219 } ,draw opacity=1 ] (501.75,76) -- (532,76) -- (532,106.25) -- (501.75,106.25) -- cycle ;
\draw (503.75,152.25) -- (528.25,152.25) -- (528.25,176.75) -- (503.75,176.75) -- cycle ;
\draw [line width=0.75] (533.24,108.25) -- (547.76,121.25) ;
\draw [shift={(550,123.25)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(531,106.25)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [line width=0.75] (530.24,178.25) -- (544.76,191.25) ;
\draw [shift={(547,193.25)}, rotate = 221.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(528,176.25)}, rotate = 41.82] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw (510.5,140.25) -- (513.63,140.25) -- (513.63,108.5) -- (519.88,108.5) -- (519.88,140.25) -- (523,140.25) -- (516.75,150.75) -- cycle ;
\draw (591,76) -- (604,76) -- (604,199.75) -- (591,199.75) -- cycle ;
\draw (633.5,75.5) -- (646.5,75.5) -- (646.5,199.25) -- (633.5,199.25) -- cycle ;
\draw (679.5,115.25) -- (692.5,115.25) -- (692.5,168) -- (679.5,168) -- cycle ;
\draw (24.5,65.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize image size 224}};
\draw (34.25,89.5) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] [align=left] {{\scriptsize filter size 7}};
\draw (69.25,127.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize stride 2}};
\draw (118.25,159.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 3}};
\draw (200.25,114.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 96}};
\draw (161,65) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 110}};
\draw (177.25,135.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny contrast}};
\draw (177.25,142.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny norm}};
\draw (196.25,177.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 96}};
\draw (173.75,165) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 2}};
\draw (158.25,154.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 5}};
\draw (143,154) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 55}};
\draw (32.5,171.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Input Image}};
\draw (156,201) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 1}};
\draw (306.75,102) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 256}};
\draw (275.5,65) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 26}};
\draw (305.25,177) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 256}};
\draw (282.75,164.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 1}};
\draw (267.25,154) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 3}};
\draw (252,153.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 13}};
\draw (265,200.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 2}};
\draw (290.25,129) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny contrast}};
\draw (290.25,136) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny norm}};
\draw (399.25,100) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 384}};
\draw (376.75,87.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 1}};
\draw (361.25,77) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 3}};
\draw (370,66.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 13}};
\draw (353.5,201) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 3}};
\draw (470.75,100) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 384}};
\draw (448.25,87.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 1}};
\draw (432.75,77) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 3}};
\draw (437.5,66.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 13}};
\draw (425,201) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 4}};
\draw (505.5,66.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 13}};
\draw (493,201) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 5}};
\draw (538.25,100.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 256}};
\draw (535.25,170.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\scriptsize 256}};
\draw (492,161.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize 6}};
\draw (573.25,165.5) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize,rotate=-270] [align=left] {4096 units};
\draw (617.75,164) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize,rotate=-270] [align=left] {4096 units};
\draw (572.5,200) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 6}};
\draw (619,200) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Layer 7}};
\draw (669,199.5) node [anchor=north west][inner sep=0.75pt] [align=left] {{\scriptsize Output}};
\draw (662.75,177) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize,rotate=-270] [align=left] {C class softmax};
\draw (127.92,120.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny 3$\times$3 max}};
\draw (127.92,127.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny pool}};
\draw (127.92,134.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny stride 2}};
\draw (237.58,108.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny 3$\times$3 max}};
\draw (237.58,115.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny pool}};
\draw (237.58,122.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny stride 2}};
\draw (469.58,122.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny 3$\times$3 max}};
\draw (469.58,129.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny pool}};
\draw (469.58,136.17) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] [align=left] {{\tiny stride 2}};
\end{tikzpicture}