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.