tensorflow / tensorflow/models

Apply customized augmentations using tensorflow object detection api

Open
#10,974 0 comments 0 reactions 1 assignee View on GitHub

@laxmareddyp is already working on this.

Since Apr 8, 2023.

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

Description

Hello,

I'm quite new to tensorflow and I was trying to train an object detector using their api. I was wondering if there is a way to pass customized augmentations in the .config file or include them in some other way in the preprocessing step.

For example, I noticed their api does not implement image blur and noise. What I would like to do in this case is to pass something like the following in the .config file:

data_augmentation_options{
my_own_augmentation{
my_augmentation_parameters
}
}

Where my_own_augmentation is a function implementing, in this case, image blur and noise. As an alternative, it would be also fine to include it dynamically in my python code.

I have been looking online for a while, but the few solutions I have found consist of changing tensorflow's source code, which to me seems a really bad coding practice.

I hope the question is clear. Thank you in advance for the help!

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.