Keras - error when adding layers to loaded model
Actually, the number of parameters for the second layer is correct, the number of parameters in a convolutional layer is calculated as follows:

n_parameters = n_filters_l * (n_filters_l-1 * (kernel_size_h * kernel_size_w) + 1)
             = 2048 * (2048 * (3 * 3) + 1) = 37750784


If you want to decrease the number of parameters, you therefore have multiple options:


Decrease the number of filters in the layer before it
Decrease the number of filters in the layer itself
Use a lower kernel height of width