semantic segmantation outputs only one class
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Sai Bhargav Avula
el 14 de Mayo de 2020
1 voto
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 comentario
Marius Bledea
el 19 de Mayo de 2020
Categorías
Más información sobre Semantic Segmentation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!