【问题标题】:Get class wise probability scores for each Semantic class in Image Segmentation using Google's DEEPLAB V3+使用 Google 的 DEEPLAB V3+ 获取图像分割中每个语义类的类别概率分数
【发布时间】:2019-11-14 02:39:19
【问题描述】:

在使用 Google 的 DeepLab V3+ 执行语义分割时,我正在尝试提取图像中存在的每个语义类的像素概率。 我正在关注这里给出的演示 - https://github.com/tensorflow/models/tree/master/research/deeplab .

我有以下问题 - 1. 如何使用 Google 的 DEEPLAB V3+ 获得图像分割中每个语义类的类别概率分数。 2. 还有每个班级的门槛是多少?

在这方面的任何帮助将不胜感激。

谢谢你:)

鉴于下面的链接有我正在使用的网络 DeepLab V3+ 的图形定义 - https://paste.fedoraproject.org/paste/pbDVRLOaUgtZmT-rbEVmbQ

【问题讨论】:

    标签: tensorflow image-segmentation deeplab


    【解决方案1】:

    您可以使用以下方法获得概率: Deeplab code

    predictions[output + PROB_SUFFIX] = tf.nn.softmax(logits)
    

    编辑:最新的 deeplab 现在也提供概率。

    【讨论】:

      猜你喜欢
      • 2017-03-31
      • 2019-02-06
      • 2020-11-17
      • 2022-01-04
      • 1970-01-01
      • 2017-04-12
      • 1970-01-01
      • 2019-08-09
      • 2019-05-23
      相关资源
      最近更新 更多