Partially labelled semantic segmentation

5 ビュー (過去 30 日間)
byungchan
byungchan 2020 年 10 月 1 日
コメント済み: byungchan 2020 年 10 月 10 日
Hi, I'm trying to use partially labelled images as a groud truth for the semantic segmentation training(there are lots of ambiguous regions in my images, so i am hoping to train only with the apparent regions; by inputting the class weight 0(techinically it was 10^-20 as I cannot input zero) to the unlabeled class in pixel classification layer)
And I found that the mini-batch accuracy is fluctuates around 35-40% and never converges.
Are there any ways i could fix this problem?
Is it related to excessive non-labeled regions?
I would appreciate any of your advice concerning this problem.

採用された回答

Raunak Gupta
Raunak Gupta 2020 年 10 月 3 日
Hi,
Assigning zero class weight to unlabeled pixel will help in removing them from loss calculation during training however when the accuracy metrics are calculated after training, it will include all the pixels and thus giving random categories to unlabeled pixel (I am assuming there is more than 1 class in labeled pixels).
Instead I will recommend assigning a background category to unlabeled pixel and keeping the class weight same as labeled pixel so that network can assign proper categories to all the pixels (background pixel can also be trained). This way network will be more robust for all parts of the image. So, adding one more class named background to the previous classes may help you converge to a higher accuracy.
  7 件のコメント
byungchan
byungchan 2020 年 10 月 9 日
Thank you!
byungchan
byungchan 2020 年 10 月 10 日
After I've installed 2020b the accuracy problem has been resolved!
Thanks again!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by