tensorflow / tensorflow/models

[Deeplab] Label index does not match with code for dataset ADE20k?

Open
#4,067 8 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Hello,

I tried to fine-tune Deeplab v3+ on ADE20k. I just found that in ADE20k, ignore_label is set to 0, while in the code the ignore label is set to 255. Directly setting ignore_label to 0 in code might not work because the label index counts from 0.

Just want to confirm that this "problem" exists. Please correct me if I a wrong.

Thanks.

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.