Slide 23
Slide 23 text
CNN layers: Hyper-parameters
To summarize the conv layer
• Accepts a volume of size
W1
× H1
× D1
• Requires four hype-parameters:
1 Number of filters K.
2 Spatial extent of filter F.
3 Amount zero padding P.
Common settings:
• K =
(power of 2 e.g) 4, 8, 16, 32, 64, 128
• F = 3, S = 1, P = 1
• F = 5, S = 1, P = 2
• F = 5, S = 2, P =? whatever fits.
• Produce a volume of size W2
× H2
× D2
where
W2
= (W1
− F + 2P)/S + 1
H2
= (H1
− F + 2P)/S + 1
D2
= K
• The number of weights per filter is F · F · D1
and the total number of
parameters is (F · F · D1
) · K and K biases.
21