qubvel / segmentation_models

Segmentation models with pretrained backbones. Keras and TensorFlow Keras.
MIT License
4.67k stars 1.03k forks source link

train and validation loss are different for the same data #494

Open RSBlu opened 2 years ago

RSBlu commented 2 years ago

Hi,

I am getting the strange results from segmentation models. I am using the same data as train and validation, the loss ( accuracy metric ) are not following each other, in raining it is going down (up) and for validation it is going up (down), for loss (accuracy). Is there any difference between training and validation loss calculations?

Thanks in advance!