0
0
Computer Visionml~20 mins

Why augmentation multiplies training data in Computer Vision - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Augmentation Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why does data augmentation increase training data size?

Imagine you have 100 pictures of cats. You flip each picture horizontally to create new images. How does this affect the number of training images?

AIt halves the number of images because flipping removes some images.
BIt keeps the number of images the same because flipped images are not counted separately.
CIt doubles the number of training images because each original image creates one new flipped image.
DIt triples the number of images because flipping creates two new images per original.
Attempts:
2 left
💡 Hint

Think about how many images you have before and after flipping.

🧠 Conceptual
intermediate
2:00remaining
How does rotation augmentation affect training data?

If you rotate each image in your dataset by 90, 180, and 270 degrees, how many images will you have compared to the original?

AFour times the original number because each image creates three rotated versions plus the original.
BThree times the original number because only three rotations are added.
CThe same number because rotations do not add new images.
DTwice the original number because only one rotation is used.
Attempts:
2 left
💡 Hint

Count the original plus all rotated versions.

Predict Output
advanced
2:00remaining
Output of augmented dataset size calculation

What is the output of this code that calculates augmented dataset size?

Computer Vision
original_size = 150
augmentations_per_image = 5
augmented_size = original_size * (augmentations_per_image + 1)
print(augmented_size)
A150
B900
C155
D750
Attempts:
2 left
💡 Hint

Remember to add the original images to the augmented ones.

Metrics
advanced
2:00remaining
Effect of augmentation on training accuracy

Which statement best explains why data augmentation can improve training accuracy?

AAugmentation increases data variety, helping the model learn better and generalize well.
BAugmentation reduces the number of training samples, making training faster.
CAugmentation removes noisy data, improving accuracy.
DAugmentation duplicates data without changes, which does not affect accuracy.
Attempts:
2 left
💡 Hint

Think about how variety in data affects learning.

🔧 Debug
expert
3:00remaining
Why does this augmentation code produce fewer images than expected?

Given this code snippet, why does the augmented dataset have fewer images than expected?

Computer Vision
images = [img1, img2, img3]
augmented_images = []
for img in images:
    augmented_images.append(img)
    augmented_images.append(flip(img))
    augmented_images.append(rotate(img))
print(len(augmented_images))
AThe augmented_images list is cleared inside the loop.
BThe flip function modifies images in place, so duplicates are not added.
CThe loop skips the last image, reducing total images.
DThe rotate function returns None, so fewer images are added.
Attempts:
2 left
💡 Hint

Check what the rotate function returns.