Datasets › ShanghaiTech
ShanghaiTech
The Shanghaitech dataset is a large-scale crowd counting dataset. It consists of 1198 annotated crowd images. The dataset is divided into two parts, Part-A containing 482 images and Part-B containing 716 images. Part-A is split into train and test subsets consisting of 300 and 182 images, respectively. Part-B is split into train and test subsets consisting of 400 and 316 images. Each person in a crowd image is annotated with one point close to the center of the head. In total, the dataset consists of 330,165 annotated people. Images from Part-A were collected from the Internet, while images from Part-B were collected on the busy streets of Shanghai.
Source: Iterative Crowd Counting
Image Source: Li et al
Benchmarks archive 2025-07-28
All 5 leaderboards whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Crowd Counting | ShanghaiTech A | EBC-ZIP-B MAE 47.81 | EBC-ZIP: Improving Blockwise Crowd Counting with... | yiming-m/ebc-zip | 35 | Compare |
| Crowd Counting | ShanghaiTech B | EBC-ZIP-B MAE 5.51 | EBC-ZIP: Improving Blockwise Crowd Counting with... | yiming-m/ebc-zip | 32 | Compare |
| Anomaly Detection | ShanghaiTech | DAC(STG-NF + Jigsaw) AUC 87.72% | Divide and Conquer in Video Anomaly Detection: A... | XiaoJian923/Divide-and-Conquer | 31 | Compare |
| Video Anomaly Detection | ShanghaiTech | MULDE-object-centric-micro AUC 86.7% | MULDE: Multiscale Log-Density Estimation via Denoising... | jakubmicorek/MULDE-Multiscale-Log-Density-Estimation-via-Denoising-Score-Matching-for-Video-Anomaly-Detection | 7 | Compare |
| Anomaly Detection In Surveillance Videos | ShanghaiTech | LMM_VAD AUC 88.8 | 10 Security and Privacy Problems in Large Foundation Models | — | 1 | Compare |
Papers archive 2025-07-28
30 shown of 61 papers with a leaderboard row on this dataset's benchmarks, newest first. The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset; the archive's count for this dataset is 277. The Syntology column is from Syntology's graph (read 2026-09-24), stated per sample; it is not part of any archive number.
The full list of 61 is in the JSON twin.
Dataset loaders archive 2025-07-28
1 loader as listed in the archive; links are outbound and not re-checked here.
Tasks archive 2025-07-28
License archive 2025-07-28
Unknown
Modalities archive 2025-07-28
Languages archive 2025-07-28
No language tagged.
Variants archive 2025-07-28
- ShanghaiTech
- ShanghaiTech A
- ShanghaiTech B
3 variant names, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections