RT-DETRv2 vs RT-DETR v1 (ResNet-50-vd architecture diff)
| Component | RT-DETR v1 (rt_detr) | RT-DETRv2 (rt_detr_v2) |
|---|---|---|
| Backbone | ResNet-50-vd depths: [3, 4, 6, 3] | ResNet-50-vd depths: [3, 4, 6, 3] (identical) |
| Decoder sampling op | Bilinear grid_sample | Discrete sampling (disable_custom_kernels: true) |
| Multi-scale levels | Uniform 4-point sampling across levels | Selective per-level points (decoder_n_levels: 3, decoder_n_points: 4) |
| Training recipe | Standard RT-DETR schedule | Bag-of-freebies (dynamic augmentation + scale-adaptive hyperparams) |
| Browser q8 weight | 45.46 MB WASM | 44.33 MB WASM (44,326,915 B) |
1 · Pick a curated scene and ablate queries
Loading a curated zero-person scene…
Overlapping pairs above the IoU cut-off are highlighted in red.
2 · Confidence threshold sweep (0.15 → 0.85)
Click any threshold row to apply it live against the cached 0.15-floor pass (before Top-K capping).
| Threshold | Boxes | Classes | Mean score | Share of candidates |
|---|---|---|---|---|
| Run the model to compute the sweep. | ||||
Show the code — threshold sweep over cached candidates
3 · NMS-free duplicate-overlap audit
One-to-one Hungarian matching trains each of the 300 queries to claim at most one object. Inspect whether same-class duplicates survive at your current threshold + Top-K cap versus legitimate cross-class overlaps (such as a cat sitting on a sofa).
Run the model to audit overlaps.
| Pair | Kind | IoU | Scores | Inspect |
|---|---|---|---|---|
| No pairs yet. | ||||
Show the code — same-class vs cross-class overlap audit
4 · Box scale, aspect ratio & encoder stride breakdown
Broken down in source-image COCO area buckets (small < 32², medium < 96², large ≥ 96²), aspect
ratios (portrait / square / landscape), and hybrid-encoder stride footprints (S8 / S16 / S32).
| Scale bucket | Count | Mean score | Classes |
|---|---|---|---|
| Run the model to break down object scales. | |||
| Dimension | Bucket | Count | Mean score |
|---|---|---|---|
| Run the model to break down aspect & stride. | |||