gjy3035/NWPU-Crowd-Sample-Code

The sample code for a large-scale crowd counting dataset, NWPU-Crowd.

What it solves

This project provides a specialized implementation for crowd counting and localization, specifically designed to work with the NWPU-Crowd dataset. It addresses the challenge of accurately estimating the number of people in highly congested scenes using deep learning models.

How it works

The framework is built on PyTorch and utilizes a convolutional neural network architecture to process images and generate density maps. Key technical optimizations include online density map generation via a convolutional layer—which reduces disk I/O overhead—and improved visualization tools for monitoring training progress via Tensorboard.

Who it’s for

This repository is intended for computer vision researchers and developers working on crowd analysis, density estimation, or object counting tasks who need a standardized framework to train and evaluate models on the NWPU-Crowd benchmark.

Highlights

  • Official implementation for the NWPU-Crowd large-scale crowd counting benchmark.
  • Includes optimized training pipelines that generate density maps online to save storage and processing time.
  • Provides pre-configured support for multiple established crowd-counting architectures like CSRNet, CANNet, and SCAR.
  • Features integrated Tensorboard visualization for real-time training and validation monitoring.

Related

  • Project
  • Project
  • Project
  • Project