semantic segmantation outputs only one class
Ältere Kommentare anzeigen
Using the algorithm from here I try to detect polyps from pictures. Every things goes well until I try to predict an image, it doesen't matter if it's from the training set or test set, it only outputs one class (there are 2 possible cases: tissue and polyp). Any ideas what I'm missing?

These are original and the ground truth combined with the original(left).

And here is what the algorithm is giving. Basically it labels all the pixels as tissue.
Akzeptierte Antwort
Weitere Antworten (1)
Sai Bhargav Avula
am 14 Mai 2020
1 Stimme
Hi,
Adding to Ryan Comeau answers, I want to add the things like
By looking at the result I think the issue might be vanishing gradients. Check for that and the loss values.
To use segmentation the data needs a bit of preprocessing for better training.
Refer the following example which is closer to your case.
Hope this help!
1 Kommentar
Marius Bledea
am 19 Mai 2020
Kategorien
Mehr zu Semantic Segmentation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!