Is my CNN model overfitting? I'm training a standard CNN. Attached my training curve. My model:
Model: &quot;functional_35&quot;
_________________________________________________________________
Layer (type)                 Output Shape              Param #   
=================================================================
input_18 (InputLayer)        [(None, 120, 120, 3)]     0         
_________________________________________________________________
conv2d_28 (Conv2D)           (None, 118, 118, 32)      896       
_________________________________________________________________
max_pooling2d_28 (MaxPooling (None, 59, 59, 32)        0         
_________________________________________________________________
dropout_23 (Dropout)         (None, 59, 59, 32)        0         
_________________________________________________________________
flatten_17 (Flatten)         (None, 111392)            0         
_________________________________________________________________
dense_17 (Dense)             (None, 256)               28516608  
_________________________________________________________________
visualized_layer (Dense)     (None, 1)                 257       
=================================================================
Total params: 28,517,761
Trainable params: 28,517,761
Non-trainable params: 0
_________________________________________________________________

My data dimension:

Is my model overfitting, if so, what's my best strategy now?
Your train/validation loss curves are a classic example of overfitting.
It looks like you have 1425 data samples to train a model with &gt; 28 million parameters.
I would suggest trying any/all of the follow:

use a smaller model -&gt; less parameters means less complexity and less ability to overfit
data augmentation -&gt; more data samples means more variation in the dataset for the model to capture
early-stopping -&gt; use something like the Keras callback, which will stop the model training once the validation loss doesn't decrease for a number of epochs

If you happen to be using image data, you might take a look at the Keras ImageDataGenerator, which can do things like flip/rotate your images.