Home > other >  The from keras_preprocessing. Image import ImageDataGenerator data processing
The from keras_preprocessing. Image import ImageDataGenerator data processing

Time:09-16

d=image_data_generator. Flow_from_directory (
The directory=directory,
Target_size=(128, 128),
Color_mode='RGB,
Batch_size=32, # on the number of a batch processing
Seed=1,
Shuffle=False,
Save_format='JPG', # save format
Save_to_dir=save_dir,
Save_prefix=save_name
)

how to make image_data_generator flow_from_directory is processing a file at the same time all subdirectories, what can deal only with a file of a subdirectory under method ,
my purpose is very simple is to make the directory file data generated in the enhanced images are stored in the subdirectory, of course, I know you can by a a subdirectory folder, but I just want to have a look at this way, the on line not line, this time processing a file so file and a survival can only select a save file directory,
official document
official document does not give relevant example,
  • Related