Thank you.

Thank you. You check the training and the validation loss/accuracy and only if your training loss is going down and not your validation loss, your model is overfitting. The reverse for underfitting. Similarly, if your training accuracy is going up and not the validation accuracy, your model is overfitting.

Source: Deep Learning on Medium