[Bug] there's confusion between filters and kernel_size

This is an error report.


Screenshot of the error


Error details

It seems there might be a mix-up between the filters and kernel_size parameters in your Conv2D layer definition. In Keras, the filters parameter specifies the number of output filters (i.e., the dimensionality of the output space), while kernel_size defines the height and width of the 2D convolution window. In your code, you've set n_filters = (3,3), which suggests you're assigning a tuple (typically used for kernel_size) to the filters parameter. This could lead to an error or unintended behavior. To correct this, I think you should specify an integer value for filters (e.g., the number of filters you desire) and assign the tuple (3, 3) to kernel_size.

@PIONMESON
Let’s look into this and get back to you.

Hi,

This course is deprecated and we deactivate it today for this reason. Please start on this new version of the course: Deep Learning Basics course - hands-on | The Construct

Sorry for the inconvenience

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.