tensorflow / tensorflow/models

Deeplab custom extension of Pascal dataset

Open
#8,926 2 comments 0 reactions 3 assignees View on GitHub

@aquariusjay is already working on this.

Since Jul 27, 2020.

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

Description

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [x ] I am using the latest TensorFlow Model Garden release and TensorFlow 2.
  • [ x] I am reporting the issue to the correct repository. (Model Garden official or research directory)
  • [ x] I checked to make sure that this issue has not already been filed.

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/research/...

2. Describe the bug

Training a strong model with 20,000 iterations and it works really well! There is just one class that it refuses to pick up! The bicycle class is '2' and shows as rgb as (2,2,2) correctly. When I run the training on it and eval the training though I get a 0 miou on only that bike class:

eval/miou_1.0_class_12[0.928088784]
eval/miou_1.0_class_0[0.9605425]
eval/miou_1.0_class_9[0.523976147]
eval/miou_1.0_class_7[0.921169817]
eval/miou_1.0_class_20[0.798535168]
eval/miou_1.0_class_1[0.877031863]
eval/miou_1.0_class_19[0.906518459]
eval/miou_1.0_class_4[0.734080374]
eval/miou_1.0_class_8[0.941900492]
eval/miou_1.0_class_5[0.830560625]
eval/miou_1.0_class_17[0.91755414]
eval/miou_1.0_class_13[0.933117807]
eval/miou_1.0_class_3[0.882578731]
eval/miou_1.0_class_15[0.916029811]
eval/miou_1.0_class_14[0.90009445]
eval/miou_1.0_class_10[0.957152545]
eval/miou_1.0_class_18[0.731425]
eval/miou_1.0_class_11[0.747792423]
eval/miou_1.0_overall[0.805964172]
eval/miou_1.0_class_2[0]
eval/miou_1.0_class_16[0.56355691]
eval/miou_1.0_class_6[0.95354104]

I used the remove_gt_colormap to perform all of the population of the "SegmentationClassRaw" folder. Here is a few examples:

2007_000584
:

2007_000129

2007_001585

The rgb breakdown of a bike:

https://cdn.discordapp.com/attachments/557783344360980493/735041625964937236/unknown.png

3. Steps to reproduce

Add an additional empty class to the pascal dataset. Observe its failure to recognize a bike.

4. Expected behavior

Bike has no relationship to adding a new class.

5. Additional context

The dataset hasn't changed at all. No additional context.

6. System information

  • Windows 10
  • TensorFlow installed from Anaconda
  • TensorFlow version 2.20
  • Python version 3.7.6
  • CUDA/cuDNN version: 7.6.5
  • GPU model and memory: Nvidia GeForce RTX 2080 Super, total memory: 161766 MB, display memory 8010 MB , shared memory 8166 MB

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.