Skip to content

Commit

Permalink
Chore: Deleted not used codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Flippchen committed Feb 8, 2024
1 parent 52024b2 commit df05e45
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions training/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
train_ds = train_ds.cache().shuffle(1000).prefetch(buffer_size=AUTOTUNE)
val_ds = val_ds.cache().prefetch(buffer_size=AUTOTUNE)

# Normalize the data
normalization_layer = layers.Rescaling(1. / 255)
normalized_ds = train_ds.map(lambda x, y: (normalization_layer(x), y))
image_batch, labels_batch = next(iter(normalized_ds))

# Create data augmentation layer and show augmented batch
data_augmentation = create_augmentation_layer(img_height, img_width)
show_augmented_batch(train_ds, data_augmentation)
Expand Down

0 comments on commit df05e45

Please sign in to comment.