Views
No views yet
db_mobilenet_v3_large,
4.2M parameters[1, 3, 1024, 1024], normalised with docTR's own mean (0.798, 0.785, 0.772)
and std (0.264, 0.2749, 0.287) — not ImageNet's[1, 1, 1024, 1024], one probability per pixel of belonging to a wordpostprocessor, which unshrinks the polygons. That stays on the caller, the way
the shelf's other detectors leave NMS outside.| build | size | latency | worst corr |
|---|---|---|---|
| XNNPACK fp32 | 16.1 MB | 46.9 ms | 1.000000 |
| Core ML fp32 | 8.6 MB | 13.1 ms | 0.999714 |
.pte files through docTR's own post-processing, on a London
street photograph (convert/check_doctr.py):boxes: 10
read: TIUZABXPRESS | Chrisiophers | Place | STREE! | LAG | BAR! corr pte max pixels > 0.3
as built 0.024711 0.2385 0
.contiguous() 1.000000 0.5639 1816np.transpose leaves the array in HWC order with permuted strides, and ExecuTorch reads a
tensor in memory order rather than by its strides. Random and all-zero inputs are
contiguous, so the gate never saw it. Anything built with transpose needs
np.ascontiguousarray before it reaches a .pte.1python convert/export_doctr.py detect
2python convert/check_doctr.py <image>forward runs its post-processing in numpy whether or not it was asked to, which
torch.export refuses (.numpy() is not supported for tensor subclasses). The model
carries an exportable flag that skips it and returns raw logits; the wrapper sets that and
applies the sigmoid itself.