Seg-Studio.

Benchmarks

Architecture-level inference benchmarks for the two Seg-Studio segmentation backbones. These numbers are produced by scripts/benchmark.py, which runs on synthetic input and requires no dataset, so anyone can reproduce them on their own hardware:

python scripts/benchmark.py --device cuda:0    # GPU
python scripts/benchmark.py --device cpu       # CPU

Test setup

   
GPU NVIDIA GeForce RTX 3090 (24 GB)
CPU Intel Core i9-13900KF (32 threads)
Framework PyTorch 2.6.0 + CUDA 12.4 (Windows) — the stack these numbers were measured on; the shipped lockfile is now torch==2.13.0 / CUDA 12.8
Input 256×256 RGB, output_stride=2, num_classes=2
Batch size 1 (single-image latency)
Method 20 warmup + 100 timed iterations (GPU); 5 + 30 (CPU); median reported
VRAM peak torch.cuda.max_memory_allocated (accurate on WDDM, where nvidia-smi is not)

Parameter counts and model sizes are measured on the instantiated model at the widths shown in the table (SimpleUNet base_channels=64, STDC base_channels=32) with use_se=True, i.e. the exact weights that get serialized into a checkpoint. A real training run may use a different width: the training form defaults to base_channels=128, and with auto-config left on (the default) the recommender picks the width for you.

Inference performance

Single image, 256×256, batch size 1.

Architecture Params Model size GPU latency GPU throughput GPU VRAM CPU latency CPU throughput
SimpleUNet (bc=64) 1.91 M 7.3 MB 2.95 ms 339 img/s 94 MB 35.8 ms 28 img/s
STDC (bc=32) 2.92 M 11.2 MB 1.32 ms 758 img/s 20 MB 8.2 ms 122 img/s

GPU = RTX 3090, CPU = Core i9-13900KF. Lower latency / higher throughput is better.

Takeaways

Accuracy (coming soon)

Accuracy figures (F1 / mIoU) will be added here, measured on a public, redistributable dataset so they are fully reproducible. Numbers from internal datasets are intentionally excluded from this document.

Notes

Apache-2.0 Source on GitHub Download Issues