tensorflow / tensorflow/models

what is the meaning of 'outputs_to_num_classes' in DeepLab

Open
#7,734 2 comments 0 reactions 3 assignees View on GitHub

@aquariusjay is already working on this.

Since Jun 19, 2020.

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

Description

I am running the code of DeeplabV3+. I just noticed that there is a variable called "OUTPUT_TYPE" in 'common.py', and there is another parameter 'outputs_to_num_classes':
outputs_to_num_classes={OUTPUT_TYPE: number}
e.g.
outputs_to_num_classes={"semantic segmentation": 21}

Then in the rest of the project, the author uses
for output in outputs_to_num_classes: ...code...
to get the key and value.

But normally 'OUTPUT_TYPE' has only one value. So I wanna know what is the meaning of 'OUTPUT_TYPE', do we have multiple outputs?

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.