1 Β· Hierarchical 7Γ7 shifted-window pyramid (56 β 28 β 14 β 7)
Exact stage geometry from Xenova/swin-tiny-patch4-window7-224/config.json:
patch_size: 4, window_size: 7, depths: [2, 2, 6, 2],
num_heads: [3, 6, 12, 24]. Each 56Γ56 cell in our 4Γ4 occlusion grid corresponds
to one Stage-2 7Γ7 window (and 4 Stage-1 7Γ7 windows).
2 Β· Live 4Γ4 regional occlusion sensitivity heatmap
Pick a starter photo or upload/drop/paste your own. Each pass masks one 56Γ56 spatial cell of the 224Γ224 input and runs Swin-Tiny to measure which window regions drive its top-1 prediction.
Initialising model loaderβ¦
Click any cell after running to inspect that masked pass.
Selected cell details appear here after running.
| Cell | 56Γ56 region | Occluded score | Score drop | Occluded Top-1 | Inspect |
|---|---|---|---|---|---|
| Run the 4Γ4 occlusion sweep to populate window sensitivity scores. | |||||
3 Β· Live q8 vs fp32 / fp16 quantization comparison
Xenova/swin-tiny-patch4-window7-224 publishes onnx/model_quantized.onnx
(q8, 32.32 MB), onnx/model_fp16.onnx (fp16,
59.41 MB), and onnx/model.onnx (fp32,
116.00 MB). Selecting a comparison downloads that ONNX variant only when you
explicitly click the button below, runs both precisions on the current 224Γ224 input, and returns
the worker to q8.
Ready once q8 loads β comparison downloads only on click.
Click "Compare q8 vs selected precision" above to benchmark real INT8 vs FP32/FP16 inference.