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
- The inference contract
- Test-time augmentation
- EMA and prediction ensembles
- Thresholds and connected components
- Validation, runtime and submission
- Runnable notebook and exercises
- 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.