Cityscapes Full-Resolution Baseline — CE+Dice (arm B of the 2×2 plate)
Guillaume Cassez · Stanislas Larnier — independent research.
Preprint CC-BY-4.0. This model is the shared reference baseline of the two 2×2 loss-ablation studies of this programme:
- cityscape-boundary-loss-kervadec — concept DOI 10.5281/zenodo.20528680
- cityscape-distmap-aux-regression — concept DOI 10.5281/zenodo.21006235
It is published as a standalone model because every Cityscapes paper of the
programme cites it as the « field-standard CE+Dice » control — yet its weights
only lived as the B_dice arm inside the two ablation repositories.
What is here
Trained weights of the B (CE+Dice) arm of the full-resolution Cityscapes 2×2
plate: semantic segmentation at full resolution 1024×2048, 19 official
classes, ConvNeXt-V2-Base (ImageNet-22K) + UPerNet, CE + Dice (equal weight),
BF16 mixed precision, 160 epochs, three seeds (42 / 123 / 456). Evaluation is
the official cityscapesScripts dataset-level mIoU on the pre-registered
shared holdout (first:500 of the validation split, 500 images).
Each model.safetensors holds the network weights only (fp32, no optimizer
state, no RNG state), exported from the exact checkpoint used for the published
numbers.
Identity — one run, two publications, checked
These files are the B_dice/{seed}/model.safetensors of the two sister
repositories, re-downloaded and compared byte for byte at publication: the
SHA-256 of every file is identical across the two repositories (one run, not
two similar runs). The MD5 column below is the stable identity published here.
The per-seed metadata.json is the one served by the sister repositories,
asserted against the official per-image evaluation (official_B.csv,
cityscapesScripts holdout) of the compute host before upload.
Measured results
Official dataset-level mIoU (%), the exact per-seed values served in the
sister repositories' metadata.json and re-asserted here against the official
per-image CSV:
| seed | mIoU | Boundary F1 (mean) | Trimap mIoU (mean) | MD5 (model.safetensors) |
|---|---|---|---|---|
| 42 | 0.8143 | 0.7637 | 0.5396 | 5b4e7cbb6751464b345f5f2f651bad4a |
| 123 | 0.8086 | 0.7650 | 0.5383 | a7ffc81ffcd15616614cb5c5d9041208 |
| 456 | 0.8099 | 0.7630 | 0.5367 | 639d9d9346f29b7bcd03a08e54d902d5 |
Aggregate over the 3 seeds: mIoU 81.09 ± 0.24 (population std), the plate's reference point that the boundary-loss and distmap arms are judged against (both beat it under Holm on the paired image-bootstrap).
Usage
from huggingface_hub import hf_hub_download
weights_path = hf_hub_download(repo_id="guillaume-cassez/cityscape-baseline-ce-dice", filename=f"B_dice/seed{seed}/model.safetensors")
meta_path = hf_hub_download(repo_id="guillaume-cassez/cityscape-baseline-ce-dice", filename=f"B_dice/seed{seed}/metadata.json")
# ConvNeXt-V2-Base (ImageNet-22K) + UPerNet, 19 classes, 1024×2048 — see the
# sister repositories' code for the exact loading recipe.
Related
- cityscape-boundary-loss-kervadec — the 2×2 plate where this is arm B
- cityscape-distmap-aux-regression — the mirrored plate, same B
- cityscape-moe-v3-experts — the mixture and its recipe-matched control
- cityscape-blob-loss-kofler — the instance-weighted arm
- MedNeXt-B baseline (BraTS 2023 GLI) — the sibling dataset's reference model
Citation
@misc{cassez_cityscape_baseline_2026,
author = {Cassez, Guillaume and Larnier, Stanislas},
title = {Cityscapes Full-Resolution Baseline (CE+Dice, arm B of the 2\times 2 plate)},
year = {2026},
howpublished = {\url{https://huggingface.co/guillaume-cassez/cityscape-baseline-ce-dice}},
note = {Reference arm of \url{https://doi.org/10.5281/zenodo.20528680} and \url{https://doi.org/10.5281/zenodo.21006235}}
}
Code & data — github.com/guillaume-cassez/city-scape · project page