What is the default loss function used in the U-Net implementation in MATLAB for semantic segmentation tasks?

12 Ansichten (letzte 30 Tage)
Hi,
Can you please provide A DOCUMENT that explicitly confirms what the default loss function used in the U-Net implementation in MATLAB is for image semantic segmentation tasks? In other words, I need a document that confirms the default loss function used in the U-Net implementation in MATLAB for image semantic segmentation tasks.
Thank you!

Akzeptierte Antwort

Pratham Shah
Pratham Shah am 17 Mär. 2023
If you are using the unetLayers function, default loss function will be "Cross-Entropy". You can check that on the documentation of pixelClassificationLayer.
  3 Kommentare
Gobert
Gobert am 18 Mär. 2023
Bearbeitet: Gobert am 18 Mär. 2023

If Loss function for training, specified as 'crossentropyex', stands for Cross Entropy Function for k Mutually Exclusive Classes ( https://se.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.classificationoutputlayer.html?searchHighlight=crossentropyex&s_tid=srchtitle_crossentropyex_3 ) the formula corresponding to 'crossentropyex'would be the following?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by