0
0
Computer Visionml~20 mins

Mask R-CNN overview in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Mask R-CNN Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the primary purpose of Mask R-CNN?

Mask R-CNN is a popular model in computer vision. What is its main task?

AClassify images into categories like cats or dogs
BDetect objects and draw bounding boxes around them
CDetect objects, classify them, and generate pixel-level masks
DGenerate captions describing the content of images
Attempts:
2 left
💡 Hint

Think about what extra output Mask R-CNN produces beyond bounding boxes.

Model Choice
intermediate
2:00remaining
Which component is unique to Mask R-CNN compared to Faster R-CNN?

Mask R-CNN builds on Faster R-CNN. Which part is added uniquely in Mask R-CNN?

ARegion Proposal Network (RPN)
BA branch for predicting segmentation masks
CNon-maximum suppression for filtering boxes
DFully connected layers for classification
Attempts:
2 left
💡 Hint

Consider what extra output Mask R-CNN produces that Faster R-CNN does not.

Predict Output
advanced
2:00remaining
What is the shape of the mask output for one detected object?

Assume Mask R-CNN outputs a mask tensor for one detected object. If the mask size is 28x28 pixels, what is the shape of this mask output?

Computer Vision
mask_output = model.predict_mask(single_object_region)
print(mask_output.shape)
A(1, 28, 28)
B(28, 28, 1)
C(28, 28)
D(1, 1, 28, 28)
Attempts:
2 left
💡 Hint

Mask R-CNN outputs masks with a batch or channel dimension.

Metrics
advanced
2:00remaining
Which metric best evaluates Mask R-CNN's mask quality?

When assessing Mask R-CNN's performance, which metric specifically measures how well the predicted masks match the true object shapes?

AConfusion matrix
BMean Average Precision (mAP) for bounding boxes
CClassification accuracy
DIntersection over Union (IoU) for masks
Attempts:
2 left
💡 Hint

Think about a metric that compares overlap between predicted and true masks.

🔧 Debug
expert
3:00remaining
Why might Mask R-CNN produce poor mask predictions despite good bounding boxes?

After training Mask R-CNN, you notice bounding boxes are accurate but masks are poor. Which issue is the most likely cause?

AThe mask branch uses a too low resolution feature map
BThe Region Proposal Network failed to generate proposals
CThe classification loss is too high
DNon-maximum suppression threshold is too low
Attempts:
2 left
💡 Hint

Consider what affects mask detail quality in the network.