using Keras' flow_from_directory with FCNN
问题 I trained a constitutional neural net for image segmentation with Keras successfully. Now I am trying to improve performance applying some data augmentation to my images. To do so I use the ImageDataGenerator and then flow_from_directory to load only batches into memory (I tried without but I get memory error). Code example is: training_images = np.array(training_images) training_masks = np.array(training_masks)[:, :, :, 0].reshape(len(training_masks), 400, 400, 1) # generators for data