Random Erasing Augmentation on Tensorflow2.
This function's purpose is for using map function in tensorflow dataset.
without numpy
Tensorflow 2.1.0
There are three result. (probability 0.5)
python main.py
- https://arxiv.org/abs/1708.04896, Random Erasing Data Augmentation, Zhun Zhog, Liang Zheng, Guoliang Kang, Shaozi Li, Yi Yang
- https://github.com/Amitayus/Random-Erasing-TensorFlow.git
- https://github.com/zhunzhong07/Random-Erasing/blob/master/transforms.py