Let say I wanted to train an image database with Keras, and I want to automatically generate new images using Keras ImageDataGenerator, the thing is that some functions are not available with the classical settings (flip, shift etc..)
Is it possible to add not only one but a list of functions as "preprocessing function" ?
datagen = dict(
horizontal_flip=True,
vertical_flip=True,
width_shift_range = 0.1,
height_shift_range = 0.1,
data_format = "channels_first",
preprocessing_function = [foo1, foo2, ...]
)
I also tried to apply my functions before calling the datagen, but I had so many functions that I had MemoryErrors