0
0
Computer Visionml~20 mins

CV project workflow in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
CV Workflow Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:00remaining
Key Step Identification in CV Project Workflow

Which step is typically the first in a computer vision project workflow?

ATraining the model
BCollecting and labeling the dataset
CEvaluating the model performance
DDeploying the model to production
Attempts:
2 left
💡 Hint

Think about what you need before training a model.

Model Choice
intermediate
1:30remaining
Choosing a Model Architecture for Image Classification

You want to classify images into 10 categories. Which model architecture is most suitable to start with?

AConvolutional Neural Network (CNN)
BRecurrent Neural Network (RNN)
CLinear Regression
DK-Means Clustering
Attempts:
2 left
💡 Hint

Consider which model type is designed to process images.

Metrics
advanced
2:00remaining
Evaluating Model Performance with Accuracy and Confusion Matrix

After training a CV model, you get the following confusion matrix for 3 classes:

[[50, 2, 3], [4, 45, 1], [2, 3, 48]]

What is the overall accuracy?

A0.91
B0.86
C0.95
D0.89
Attempts:
2 left
💡 Hint

Accuracy = (sum of diagonal) / (sum of all elements).

🔧 Debug
advanced
2:00remaining
Identifying the Bug in Data Augmentation Code

What error will this code raise when applying data augmentation using PyTorch transforms?

import torchvision.transforms as T
from PIL import Image
transform = T.Compose([
    T.RandomHorizontalFlip(p=0.5),
    T.ToTensor(),
    T.Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
])

image = Image.open('image.jpg')
augmented = transform(image)
AAttributeError: 'Image' object has no attribute 'shape'
BRuntimeError: image mode not supported
CNo error, code runs successfully
DTypeError: normalize expects 3 channels but got 1
Attempts:
2 left
💡 Hint

Check the number of channels in the image and the mean/std length.

Hyperparameter
expert
2:00remaining
Effect of Learning Rate on Training Stability

You train a deep CNN for object detection. Which learning rate choice is most likely to cause unstable training with loss oscillations?

A0.0001
B0.001
C0.0005
D0.01
Attempts:
2 left
💡 Hint

Higher learning rates can cause unstable updates.