Papers › CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes

CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes

27 Feb 2018CVPR 2018 6arXiv:1802.10062archive 2025-07-28

Yuhong Li, Xiaofan Zhang, Deming Chen

We propose a network for Congested Scene Recognition called CSRNet to provide a data-driven and deep learning method that can understand highly congested scenes and perform accurate count estimation as well as present high-quality density maps. The proposed CSRNet is composed of two major components: a convolutional neural network (CNN) as the front-end for 2D feature extraction and a dilated CNN for the back-end, which uses dilated kernels to deliver larger reception fields and to replace pooling operations. CSRNet is an easy-trained model because of its pure convolutional structure. We demonstrate CSRNet on four datasets (ShanghaiTech dataset, the UCF_CC_50 dataset, the WorldEXPO'10 dataset, and the UCSD dataset) and we deliver the state-of-the-art performance. In the ShanghaiTech Part_B dataset, CSRNet achieves 47.3% lower Mean Absolute Error (MAE) than the previous state-of-the-art method. We extend the targeted applications for counting other objects, such as the vehicle in TRANCOS dataset. Results show that CSRNet significantly improves the output quality with 15.4% lower MAE than the previous state-of-the-art approach.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1802.10062")

Code

Syntology Ran 5 of 15 code samples harvested from 4 repositories linked to this paper; 10 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong.

By repository: community (archive-listed): 15 samples from 4 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Bazingaliu/learning_CSRNet mentioned on GitHubpytorch report
CommissarMa/CSRNet-pytorch mentioned on GitHubpytorchMIT report
DiaoXY/CSRnet mentioned on GitHubtf report
Neerajj9/CSRNet-keras mentioned on GitHubtfMIT report
Saritus/Crowd-Counter mentioned on GitHubtfMIT report
dattatrayshinde/oc_sd mentioned on GitHubpytorch report
karanjsingh/Improved-CSRNet mentioned on GitHubtf report
krutikabapat/Crowd_Counting mentioned on GitHub report
leeyeehoo/CSRNet-pytorch mentioned on GitHubpytorch report
xr0927/chapter5-learning_CSRNet mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 5 ran; 3 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
10unverified

Licence: 5 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_img DiaoXY/CSRnet/Model.py community (archive-listed) ran · honoured contract no licence file found · pointer only · ce39b03640271550 · report
create_img DiaoXY/CSRnet/Inference.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 26d3609a29bca3ac · report
gaussian_filter_density DiaoXY/CSRnet/Preprocess.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 78634a059bd32f30 · report
get_input DiaoXY/CSRnet/Model.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 70f82265ce8e8a4e · report
make_layers CommissarMa/CSRNet-pytorch/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · bd14ee2717325fe2 · report
create_test_dataloader CommissarMa/CSRNet-pytorch/dataset.py community (archive-listed) unverified MIT (permissive) · 699624a8df54b1f2 · report
create_train_dataloader CommissarMa/CSRNet-pytorch/dataset.py community (archive-listed) unverified MIT (permissive) · 804f70b76bd6432b · report
denormalize CommissarMa/CSRNet-pytorch/utils.py community (archive-listed) unverified MIT (permissive) · c0c074850363dcfc · report
diff Saritus/Crowd-Counter/mat4conda.py community (archive-listed) unverified MIT (permissive) · 2e7c732fa310801f · report
gaussian_filter_density Bazingaliu/learning_CSRNet/make_dataset.py community (archive-listed) unverified no licence file found · pointer only · b58a2ec6960d759c · report
generate_fixed_kernel_densitymap CommissarMa/CSRNet-pytorch/data_preparation/dmap_for_SHHB.py community (archive-listed) unverified MIT (permissive) · d78d232773b61dc2 · report
generate_k_nearest_kernel_densitymap CommissarMa/CSRNet-pytorch/data_preparation/dmap_for_SHHA.py community (archive-listed) unverified MIT (permissive) · 5448b1b07af1f412 · report
generate_perspective_densitymap CommissarMa/CSRNet-pytorch/data_preparation/dmap_for_MALL.py community (archive-listed) unverified MIT (permissive) · 5c608855cf4b96b9 · report
read_file_header Saritus/Crowd-Counter/mat4conda.py community (archive-listed) unverified MIT (permissive) · ee85fe0942254f17 · report
unpack Saritus/Crowd-Counter/mat4conda.py community (archive-listed) unverified MIT (permissive) · 0deef73b258cd476 · report

Tasks

Crowd CountingScene Recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Crowd Counting ShanghaiTech A CSRNet MAE 68.2 #24 of 35 Archive leaderboard report
Crowd Counting ShanghaiTech B CSRNet MAE 10.6 #22 of 32 Archive leaderboard report
Crowd Counting TRANCOS CSRNet MAE 3.56 #4 of 4 Archive leaderboard report
Crowd Counting UCF CC 50 CSRNet MAE 266.1 #12 of 22 Archive leaderboard report
Crowd Counting Venice CSRNet MAE 35.8 #3 of 5 Archive leaderboard report
Crowd Counting WorldExpo’10 CSRNet Average MAE 8.6 #7 of 15 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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