Semantic segmentation evaluation results

2 views (last 30 days)
David Clement
David Clement on 3 Feb 2020
Commented: Meriem YOUss on 19 Aug 2021
When i try evaluating semantic segmentation results by running "metrics = evaluateSemanticSegmentation(pxdsResults,pximds)" i get this error "size of the categorical data returned by dsResults and dsTruth must be the same". Please how can i fix this

Answers (1)

Mahesh Taparia
Mahesh Taparia on 6 Feb 2020
Hi David
The function evaluateSemanticSegmentation computes the different metrics to evaluate the quality of segmentation results with respect to the ground truth. So, the size of pxdsResults and pximds should be same as it will perform the pixel level computation. Check the size of pxdsResults and pximds, one of it might be used incorrectly. For more information, you can refer to the documentation page of evaluateSemanticSegmentation here.
  2 Comments
Redrowthu Sujin Anil Kumar
How do I can find the size of pxdsresults and pximds
Meriem YOUss
Meriem YOUss on 19 Aug 2021
Hi, I was wondering if your problem was solved, because I got the same error. can you help me ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!