【问题标题】:Black screen output using Tensorflow's DeepLab使用 Tensorflow 的 DeepLab 输出黑屏
【发布时间】:2020-07-21 13:54:27
【问题描述】:

我使用 initialize_last_layerlast_layers contain_logits 在我自己的数据集上训练了 DeepLab,仅使用了 False。我只有 2 类背景和标签。我尝试使用--num_classes=23,但没有任何效果。我的ignore_label 是255,而我的背景是(0,0,0,255),标签是(1,1,1,255)。我也给了label_weights 1:20,但没有用。我看到的只是segmented_results 文件夹中的黑色图像。有什么解决办法吗?

【问题讨论】:

    标签: python tensorflow model tensorflow2.0 deeplab


    【解决方案1】:

    vis.sh 中定义一些颜色图

    例如:

    --colormap_type="cityscapes"
    

    【讨论】:

      猜你喜欢
      • 2020-11-22
      • 2020-09-03
      • 2019-08-14
      • 1970-01-01
      • 2019-10-24
      • 2020-03-19
      • 2023-01-04
      • 2019-12-10
      • 2020-06-07
      相关资源
      最近更新 更多