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

12 views (last 30 days)
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!

Accepted Answer

Pratham Shah
Pratham Shah on 17 Mar 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 Comments
Gobert
Gobert on 18 Mar 2023
Edited: Gobert on 18 Mar 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?

Sign in to comment.

More Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!