Skip to content

Instantly share code, notes, and snippets.

@ksdkamesh99
Last active May 17, 2020 06:29
Show Gist options
  • Save ksdkamesh99/afeb3e982848c1a266630247910d1483 to your computer and use it in GitHub Desktop.
Save ksdkamesh99/afeb3e982848c1a266630247910d1483 to your computer and use it in GitHub Desktop.
imagegen=datagen.flow_from_dataframe(
dataframe,
directory=None,
x_col="filename",
y_col="class",
weight_col=None,
target_size=(256, 256),
color_mode="rgb",
classes=None,
class_mode="categorical",
batch_size=32,
shuffle=True,
seed=None,
save_to_dir=None,
save_prefix="",
save_format="png",
subset=None,
interpolation="nearest",
validate_filenames=True,
**kwargs
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment