Assign labels to pixels with encoder–decoder networks, skip connections, upsampling, and segmentation-specific losses. Evaluate semantic and instance segmentation with overlap-based metrics.