Search⌘ K
AI Features

Exercise: Download a Pretrained Semantic Segmentation CNN

Explore how to download and apply a pretrained DeepLabV3 CNN with a MobileNetV3 backbone for semantic segmentation. Learn to load images, prepare batch tensors, run the model in evaluation mode, and visualize the original and segmented images to understand semantic segmentation outputs.

Problem statement

In this exercise, download a pretrained CNN for semantic segmentation. You’ll test the CNN performance with some images of natural scenes and create annotation images showing the found objects.

Launch the Jupyter Notebook below and follow the instructions.

Instructions:

  • The comment lines starting with # >>> indicate that you must edit the cell.

  • Replace the None values with the correct function calls.

The main steps that you’ll have to complete are:

  1. Load ...