semantic segmantation outputs only one class
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Sai Bhargav Avula
le 14 Mai 2020
1 vote
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 commentaire
Marius Bledea
le 19 Mai 2020
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!