Framing lab
If a crop alone can shift the top bracket, a single label is not a fact about the person. This is apparent age under the FairFace taxonomy β never use it for age-gating or decisions about people.
Tap the face to re-anchor the medium and tight crops.
Initialising model loaderβ¦
Framing sensitivity
| Pair | Top-1 | Ξ expected age | Ξ entropy | Total variation | JS divergence |
|---|---|---|---|---|---|
| Run all 3 framings to compare. | |||||
Inside: what the ViT actually sees
ViTFeatureExtractor resizes every input straight to 224Γ224 (no aspect-ratio
preservation), rescales by 1/255 and normalises with mean 0.5 / std 0.5, then splits it into
14Γ14 = 196 patches of 16Γ16 px. A full-scene photo squeezes the face into a handful of patches and
stretches it; a tight crop gives the face almost every patch. The thumbnails above are drawn at the
model's own 224Γ224 resolution so you see the same squash the processor applies.
Medium crop = a square 2.6Γ the face height, nudged down to include shoulders; tight crop = 1.15Γ the face height. Both are clamped (shifted, never squashed) inside the photo.