Live Session 5 · 9 November 2026Inference notebook ↓
Predict. Align. Decide.

Inference you
can explain.

A careful hour with TTA, EMA and ensembles.

On this page

Inference techniques for segmentation

9 November 2026 · Live Session 5 · 60 minutes

A trained network returns scores. An inference pipeline turns those scores into masks that you can validate, reproduce and submit. This session connects Milestone 5's inference topics with EMA checkpoint selection.

Open the interactive slides · Start the study notes · Notebook and setup · Quick reference

What you will learn

By the end, explain and implement the inverse-transform step in TTA, distinguish EMA parameter averaging from prediction ensembling, choose thresholds using held-out evidence, and verify the final mask-to-CSV pipeline.

The one-hour route

Minutes Topic Participation
00–06 Inference contract and baseline Identify shapes and activation
06–20 TTA and spatial inversion Mirror-location activity + notebook A
20–33 EMA, SWA and model ensembles Scalar EMA activity + notebook B
33–45 Thresholds and component filtering Threshold activity + notebook C
45–54 Validation, cost and submission Audit a proposed experiment
54–60 Exit questions and discussion Explain one defensible next experiment

The notebook uses deterministic synthetic arrays and a toy predictor, runs on CPU, and needs no checkpoint, account, dataset or GPU. Its outputs demonstrate mechanics, not measured competition performance. No private dataset findings or model results are included.

Study material

  1. The inference contract
  2. Test-time augmentation
  3. EMA and prediction ensembles
  4. Thresholds and connected components
  5. Validation, runtime and submission
  6. Runnable notebook and exercises
  7. Quick reference and reading

This is a dedicated live lesson. It does not change the milestone assessments or require students to copy a particular inference recipe.