Skip to content

Image classification from scratch preprocess function parameter #2199

@jxu

Description

@jxu

Issue Type

Documentation Bug

Source

binary

Keras Version

3.11.3

Custom Code

No

OS Platform and Distribution

WSL Ubuntu 22.04

Python version

3.10

GPU model and memory

None

Current Behavior?

Option 2 of preprocess the data

augmented_train_ds = train_ds.map(
    lambda x, y: (data_augmentation(x, training=True), y))

Not sure if this is just an example or is actual code to be run, but data_augmentation function defined earlier doesn't have a training named parameter.

Standalone code to reproduce the issue or tutorial link

https://keras.io/examples/vision/image_classification_from_scratch/#two-options-to-preprocess-the-data

Relevant log output

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions