Attribute Error: Custom Generator object has no attribute ...
github.com › keras-team › kerasMar 31, 2019 · from numpy.random import uniform, randint from tensorflow.python.keras.preprocessing.image import ImageDataGenerator import numpy as np from tensorflow.python.keras.utils.data_utils import Sequence class CustomImagesGenerator(Sequence): def __init__(self, x, zoom_range, shear_range, rescale, horizontal_flip, batch_size=32): self.x = x self.zoom_range = zoom_range self.shear_range = shear_range ...