0
0
Computer Visionml~20 mins

Image datasets (CIFAR-10, ImageNet) in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Image Dataset Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding CIFAR-10 Dataset Characteristics

Which of the following statements about the CIFAR-10 dataset is correct?

ACIFAR-10 is primarily used for natural language processing tasks.
BCIFAR-10 images are grayscale and have a resolution of 224x224 pixels.
CCIFAR-10 has 100 classes with 600 images each, all in black and white.
DCIFAR-10 contains 60,000 color images of size 32x32 pixels divided into 10 classes.
Attempts:
2 left
💡 Hint

Think about the number of classes and image size commonly used in beginner image classification tasks.

Predict Output
intermediate
1:30remaining
Output Shape of CIFAR-10 Training Data

Given the following Python code snippet loading CIFAR-10 using TensorFlow, what is the shape of x_train?

Computer Vision
import tensorflow as tf
(x_train, y_train), (x_test, y_test) = tf.keras.datasets.cifar10.load_data()
print(x_train.shape)
A(50000, 32, 32, 3)
B(60000, 28, 28, 1)
C(10000, 32, 32, 3)
D(50000, 224, 224, 3)
Attempts:
2 left
💡 Hint

Recall the number of training images and their dimensions in CIFAR-10.

Model Choice
advanced
2:00remaining
Choosing a Model for ImageNet Classification

You want to train a deep learning model on the ImageNet dataset, which has over 1 million images and 1000 classes. Which model architecture is most suitable for this task?

AA small fully connected neural network with 2 hidden layers.
BA recurrent neural network (RNN) designed for text sequences.
CA convolutional neural network (CNN) like ResNet-50 pretrained on ImageNet.
DA simple logistic regression model.
Attempts:
2 left
💡 Hint

Consider the dataset size, image complexity, and model type best suited for images.

Metrics
advanced
1:30remaining
Evaluating Model Accuracy on CIFAR-10

After training a model on CIFAR-10, you get the following confusion matrix summary for 10 classes. Which metric best summarizes the overall model performance?

APerplexity, because it measures uncertainty in classification.
BAccuracy, because it shows the proportion of correctly classified images out of all images.
CMean Squared Error, because it measures the average squared difference between predicted and true labels.
DBLEU score, because it evaluates image classification quality.
Attempts:
2 left
💡 Hint

Think about which metric is commonly used for classification tasks with multiple classes.

🔧 Debug
expert
2:00remaining
Identifying the Cause of Slow Training on ImageNet

You are training a CNN on ImageNet but notice training is extremely slow. Which of the following is the most likely cause?

AUsing a very small batch size causing inefficient GPU utilization.
BUsing data augmentation techniques like random flips and crops.
CUsing pretrained weights from ImageNet for initialization.
DUsing mixed precision training to speed up computation.
Attempts:
2 left
💡 Hint

Consider how batch size affects hardware usage during training.