I am trying to use the new TensorFlow object detection API, released in June. But I am having some difficulties in using the data augmentation utils, provided by them. This is because they import a contrib.image
from TensorFlow, which is only present in the TF 1.x. So, my question is: "Anyone knows how can I use this data augmentation utils in TF 2.x?".
Best regards.
You can find the data augmentation tutorial on Tensorflow site here https://www.tensorflow.org/tutorials/images/data_augmentation which uses TF 2.x.
You can also use ImageDataGenerator library to perform Data augmentation in Tf 2.x.
Sample code snippet of imagedatagenerator