Skip to content

Latest commit

 

History

History
77 lines (25 loc) · 1.04 KB

README.md

File metadata and controls

77 lines (25 loc) · 1.04 KB

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