tensorflow / tensorflow/models

deeplab v3+training ,the mask is all black

Open
#9,096 7 comments 1 reaction 3 assignees View on GitHub

@gpapan is already working on this.

Since Sep 1, 2020.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

I use pascal_voc_seg to train deeplabv3+ without tf_initial_checkpoint
but predict nothing,the mask is all black
I‘m sure the training datasets is correct,mask data is uint8

Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 19:07:31)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import cv2
img=cv2.imread('2008_003626.png')
import numpy as np
np.unique(img)
array([ 0, 15], dtype=uint8)

if use deeplabv3_mnv2_pascal_trainval initial model ,the results is normal
what's the problem

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.