Skip to content

Janghyeonwoong/Random-Erasing-Tensorflow2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random-Erasing-Tensorflow2

Random Erasing Augmentation on Tensorflow2.

This function's purpose is for using map function in tensorflow dataset.

without numpy

Tensorflow version

Tensorflow 2.1.0

Result

There are three result. (probability 0.5)

random erasing(white)

white_0

white_1

random erasing(black)

black_0

black_1

random erasing(random)

0

1

Test

python main.py

Ref

  1. https://arxiv.org/abs/1708.04896, Random Erasing Data Augmentation, Zhun Zhog, Liang Zheng, Guoliang Kang, Shaozi Li, Yi Yang
  2. https://github.com/Amitayus/Random-Erasing-TensorFlow.git
  3. https://github.com/zhunzhong07/Random-Erasing/blob/master/transforms.py

About

Random Erasing Augmentation on Tensorflow2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages