0
0
Computer Visionml~20 mins

Semantic segmentation vs instance segmentation in Computer Vision - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Segmentation Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Difference between semantic and instance segmentation

Which statement correctly describes the difference between semantic segmentation and instance segmentation?

ASemantic segmentation detects objects with bounding boxes, while instance segmentation labels pixels with classes.
BInstance segmentation only works on images with a single object, semantic segmentation works on multiple objects.
CInstance segmentation labels each pixel with a class, while semantic segmentation distinguishes different objects of the same class.
DSemantic segmentation labels each pixel with a class, while instance segmentation also distinguishes different objects of the same class.
Attempts:
2 left
💡 Hint

Think about whether the method separates individual objects or just labels the type of object.

Predict Output
intermediate
2:00remaining
Output shape of semantic vs instance segmentation masks

Given an input image of size 256x256 pixels, what is the shape of the output mask for semantic segmentation and instance segmentation respectively?

ASemantic: (256, 256), Instance: (256, 256)
BSemantic: (256, 256, num_classes), Instance: (num_instances, 256, 256)
CSemantic: (num_instances, 256, 256), Instance: (256, 256, num_classes)
DSemantic: (256, 256, 3), Instance: (256, 256, 3)
Attempts:
2 left
💡 Hint

Semantic segmentation outputs a class label per pixel; instance segmentation outputs masks per object.

Model Choice
advanced
2:00remaining
Choosing a model for instance segmentation

You want to detect and separate multiple objects of the same class in images. Which model architecture is best suited for this task?

AMask R-CNN
BResNet for classification
CFully Convolutional Network (FCN)
DU-Net
Attempts:
2 left
💡 Hint

Look for a model that can detect objects and segment them individually.

Metrics
advanced
2:00remaining
Evaluating semantic vs instance segmentation

Which metric is commonly used to evaluate both semantic and instance segmentation performance?

AMean Intersection over Union (mIoU)
BMean Squared Error (MSE)
CBLEU score
DAccuracy of bounding box coordinates
Attempts:
2 left
💡 Hint

Think about a metric that compares predicted and true pixel areas.

🔧 Debug
expert
2:00remaining
Debugging instance segmentation mask output

You trained an instance segmentation model but the output masks overlap heavily, merging different objects into one mask. What is the most likely cause?

AThe input images are too small, causing poor resolution.
BThe learning rate is too low, causing slow convergence.
CThe model's non-maximum suppression (NMS) threshold is too high, causing overlapping masks to merge.
DThe model uses semantic segmentation instead of instance segmentation.
Attempts:
2 left
💡 Hint

Consider how overlapping predictions are filtered in instance segmentation.