tensorflow / tensorflow/models

CenterNet image_resizer Strange Performance

Open
#9,188 1 comment 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Sep 2, 2020.

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

Description

I train my custom model with CenterNet HourGlass104 1024x1024 My dataset contains only images with 720:1280 size. In config file when I change keep_aspect_ratio_resizer as 720:1280 it doesn't detect accurately. But when I set aspect_ratio as 1280:1280 or 1024:1024 it works much better.
Someone please can explain why I get better results with these scales even I have lower size images? Here a part of my config file:

image_resizer {
  keep_aspect_ratio_resizer {
    min_dimension: 720
    max_dimension: 1280
    pad_to_max_dimension: true
  }
}

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.