Skip to main content

All Questions

1 vote
1 answer
164 views

How to use Keras ImageDataGenerator for feeding a pix2pix CNN model?

I'm trying to use keras ImageDataGenerator for training a pix2pix CNN model. It maps input images to output images. We know that the keras ImageDataGenerator can be used easily for image ...
Marlon Teixeira's user avatar
1 vote
1 answer
542 views

Why does keras test generator only return batch size as the length in the shape of the array?

Here is my test generator code: test_generator=test_datagen.flow_from_dataframe( dataframe=df_test, directory=img_dir, x_col="...
texasdave's user avatar
  • 756
1 vote
2 answers
2k views

How can I use ImageDataGenerator class to generate either train and label as image for a keras model?

I want to train a model to generate new images using Keras and I would use the ImageDataGenerator class to generate batches of images. The problem is that I can't find a way to use this class to ...
Syrius Deffey's user avatar
2 votes
0 answers
2k views

Keras ImageDataGenerator.flow filenames

I have a folder full of 2500 numbered images and a labels.txt file with comma separated labels in the order of the image filename numbers. I'd like to generate random rotations (10x the number of ...
Austin's user avatar
  • 7,369
3 votes
1 answer
846 views

Keras ImageDataGenerator how to see parameters by which image was modified

I understand how and why to use an ImageDataGenerator, but I am interested in casting an eyeball on how the ImageDataGenerator affects my images so I can decide whether I have chosen a good amount of ...
doogFromMT's user avatar