Skip to content

Commit

Permalink
Fix typos in image preprocessing docs (keras-team#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzw0301 authored and fchollet committed Jun 6, 2016
1 parent 97e31b6 commit ce51e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/templates/preprocessing/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Generate batches of tensor image data with real-time data augmentation. The data
- __shuffle__: boolean (defaut: False).
- __save_to_dir__: None or str (default: None). This allows you to optimally specify a directory to which to save the augmented pictures being generated (useful for visualizing what you are doing).
- __save_prefix__: str (default: `''`). Prefix to use for filenames of saved pictures (only relevant if `save_to_dir` is set).
- __save_format__: one of "png", jpeg" (only relevant if `save_to_dir` is set). Default: "jpeg".
- __save_format__: one of "png", "jpeg" (only relevant if `save_to_dir` is set). Default: "jpeg".
- ___yields__: Tuples of `(x, y)` where `x` is a numpy array of image data and `y` is a numpy array of corresponding labels.
The generator loops indefinitely.
- __flow_from_directory(directory)__: Takes the path to a directory, and generates batches of augmented/normalized data. Yields batches indefinitely, in an infinite loop.
Expand All @@ -80,7 +80,7 @@ Generate batches of tensor image data with real-time data augmentation. The data
- __seed__: optional random seed for shuffling.
- __save_to_dir__: None or str (default: None). This allows you to optimally specify a directory to which to save the augmented pictures being generated (useful for visualizing what you are doing).
- __save_prefix__: str. Prefix to use for filenames of saved pictures (only relevant if `save_to_dir` is set).
- __save_format__: one of "png", jpeg" (only relevant if `save_to_dir` is set). Default: "jpeg".
- __save_format__: one of "png", "jpeg" (only relevant if `save_to_dir` is set). Default: "jpeg".


- __Examples__:
Expand Down

0 comments on commit ce51e19

Please sign in to comment.