Skip to content
Back to skills

Cityscapes Eval

ASecurity

Evaluates semantic scene understanding models on complex urban street scenes by measuring pixel-level classification accuracy and instance-level segmentation quality. It probes the model's ability to handle high-resolution imagery, diverse weather/lighting conditions, and fine-grained class distinctions in autonomous driving contexts. Use when the user wants to benchmark on Cityscapes, or asks about evaluating this task. Reports IoU.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythonperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill cityscapes-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cityscapes Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cityscapes Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-cityscapes-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-cityscapes-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cityscapes-eval
description: Evaluates semantic scene understanding models on complex urban street scenes by measuring pixel-level classification accuracy and instance-level segmentation quality. It probes the model's ability to handle high-resolution imagery, diverse weather/lighting conditions, and fine-grained class distinctions in autonomous driving contexts. Use when the user wants to benchmark on Cityscapes, or asks about evaluating this task. Reports IoU.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 1604.01685
  bibtex_key: [REDACTED]
  confidence: high
---

# cityscapes-eval

> The Cityscapes Dataset for Semantic Urban Scene Understanding — Cordts et al. (2016) (arXiv:1604.01685, 2016)

## What this evaluates

Evaluates semantic scene understanding models on complex urban street scenes by measuring pixel-level classification accuracy and instance-level segmentation quality. It probes the model's ability to handle high-resolution imagery, diverse weather/lighting conditions, and fine-grained class distinctions in autonomous driving contexts.

## Datasets

- **Cityscapes** — total ?; splits: train (-1), val (-1)

## Metrics

- `IoU` **(primary)** — range: [0, 1]
  - Intersection over Union: the ratio of the area of overlap between the predicted mask and the ground truth mask to the area of their union. Computed per class and typically averaged to mIoU.
- `iIoU` — range: [0, 1]
  - Instance-normalized IoU, which adjusts the standard IoU calculation to account for instance-level variations and class imbalance in dense urban scenes.

## Input / output format

**Input**: Single-frame monocular LDR images, often resized, cropped, or split into halves depending on the baseline's memory constraints.

**Output**: Per-pixel semantic class labels (dense masks) or instance-level segmentation masks/bounding boxes.

## Scoring recipe

```python
def compute_iou(pred_mask, gt_mask, class_id):
    pred = (pred_mask == class_id)
    gt = (gt_mask == class_id)
    intersection = np.logical_and(pred, gt).sum()
    union = np.logical_or(pred, gt).sum()
    if union == 0:
        return 1.0
    return intersection / union

def evaluate(dataset, model):
    ious = []
    for img, gt in dataset:
        pred = model(img)
        for cls in range(num_classes):
            ious.append(compute_iou(pred, gt, cls))
    return np.mean(ious)  # mIoU
```

## Common pitfalls

- Ignoring void pixels during training causes gradients to be induced incorrectly, degrading performance.
- Input resolution and cropping strategies vary significantly across baselines, making direct comparison of inference time and accuracy difficult without normalization.
- Coarse annotations are used for pretraining or weak supervision, which can artificially inflate performance if not properly accounted for in the evaluation protocol.

## Evidence (verbatim from paper)

> Tables 9 and 11 list all individual class-level IoU scores for all control experiments and baselines. Tables 10 and 12 give the corresponding instance-normalized iIoU scores.

## Citation

```bibtex
@misc{cordts2016cityscapes,
  title={The Cityscapes Dataset for Semantic Urban Scene Understanding},
  author={Cordts et al. (2016)},
  year={2016},
  note={arXiv:1604.01685}
}
```

- arXiv: 1604.01685

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.