Industrial surface segmentationDownload notebook ↓
Observe. Represent. Measure.

From pixels
to experiments.

A live lab in industrial segmentation.

On this page

Pixels, Masks & Experiments

Explore how surface images become segmentation masks, how data representation affects model design, and how to record a training experiment with Weights & Biases.

Watch live session recording (12 October 2026) · Open the W&B lab · Download the notebook

Live session recording

The live session for DLGenAI 26T3 was conducted on 12 October 2026 covering data representation, output heads, run-length encoding, and experiment tracking with Weights & Biases.

What you will learn

Track an experiment with W&B

Use the notebook example to start a run, log metrics, tables and plots, and save a versioned model artifact. A tiny built-in dataset supplies values to track.

Open the W&B lab · Download the notebook

1. Understand the labels

Read the annotation table, distinguish images from image–class pairs and pixels, identify clean images, and measure class imbalance and label cardinality.

Explore data sparsity and cardinality

2. Choose what a pixel can mean

Distinguish multiple defects in an image from overlapping labels at a pixel. Compare sigmoid and softmax outputs, background labels, target formats and loss functions.

Explore masks and output heads

3. Encode and decode segmentation masks

Follow numbered pixels through column-major traversal, build start–length RLE pairs, reconstruct a mask, and check indexing, empty masks and canvas boundaries.

Explore RLE with an editable pixel grid

Learn by experimenting

Use the interactive grids and sliders to make a prediction, change one setting, and explain the result. The worked examples and annotated images are available throughout the notes for review.