Image Data Preprocessing
Image Data Preprocessing
PREPROCESSING
BY: GROUP 4
KEY TOPICS:
1. Splitting Data into Training,
Validation, and Test Sets
2. Converting Images to
Tensors and Loading Data
WHAT IS
IMAGE DATA
PREPROCESSING?
What is Image Data
Preprocessing?
Image data preprocessing prepares
raw images so neural networks can
learn from them accurately, by
making sizes and quality consistent.
IMPORTANCE OF IMAGE DATA
PREPROCESSING
ENHANCES MODEL IMPROVES MODEL
EFFICIENCY PERFORMANCE
Preprocessing simplifies image Standardized data helps the
data, reducing the amount of model learn patterns more
computation required, which effectively by removing
makes training faster. inconsistencies and noise.
PREVENTS
OVERFITTING
By using techniques like data
augmentation, preprocessing
increases the dataset’s diversity,
helping the model generalize
better.
KEY STEPS FOR
PREPROCESSING
IMAGE DATA
SPLITTING DATA:
TRAINING,
VALIDATION AND
TEST SETS
SPLITTING DATA: TRAINING,
VALIDATION AND TEST SETS
Splitting the dataset into
training, validation, and test sets
is crucial for assessing a model’s
performance effectively.
What is Training, Validation
and Test Set?
Training Set:
Used to train the model.
Validation Set:
Used to adjust settings and check the model’s
performance during training.
Test Set:
Used only after training to measure how well the
model performs on new data.
EXAMPLE:
If you have 1,000 images, you might split
them as follows:
Training Set: 70% (700 images)
Validation Set: 15% (150 images)
Test Set: 15% (150 images)
Why is it Important?