For below line of code
model.add(Conv2D(filters = 32, kernel_size = (5,5),padding = 'Same',
activation ='relu', input_shape = (28,28,1)))
Here, what does 'filers' and 'kernel_size' mean? or what is filter and kernel_size ?
Data Science Stack Exchange is a question and answer site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field. It only takes a minute to sign up.
Sign up to join this communityFor below line of code
model.add(Conv2D(filters = 32, kernel_size = (5,5),padding = 'Same',
activation ='relu', input_shape = (28,28,1)))
Here, what does 'filers' and 'kernel_size' mean? or what is filter and kernel_size ?
Filters are used to extract features from images in the process of convolution.
filters: Integer, the dimensionality of the output space (i.e. the number of output filters in the convolution).
kernel_size: An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window. Can be a single integer to specify the same value for all spatial dimensions.
For detailed undestadning of filter and kernel_size, refer:
https://www.saama.com/blog/different-kinds-convolutional-filters/
https://keras.io/layers/convolutional/