All Projects → priyanka-kasture → Crowd-Counting-with-MCNNs

priyanka-kasture / Crowd-Counting-with-MCNNs

Licence: MIT license
Crowd counting on the ShanghaiTech dataset, using multi-column convolutional neural networks.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Crowd-Counting-with-MCNNs

MARUNet
Multi-level Attention Refined UNet for crowd counting
Stars: ✭ 30 (+30.43%)
Mutual labels:  crowd-counting, crowdcounting
CSRNet-keras
Implementation of the CSRNet paper (CVPR 18) in keras-tensorflow
Stars: ✭ 107 (+365.22%)
Mutual labels:  crowd-counting
S-DCNet
Unofficial Pytorch implementation of S-DCNet and SS-DCNet
Stars: ✭ 17 (-26.09%)
Mutual labels:  crowd-counting
NWPU-Crowd-Sample-Code
The sample code for a large-scale crowd counting dataset, NWPU-Crowd.
Stars: ✭ 140 (+508.7%)
Mutual labels:  crowd-counting
IIM
PyTorch implementations of the paper: "Learning Independent Instance Maps for Crowd Localization"
Stars: ✭ 94 (+308.7%)
Mutual labels:  crowd-counting
CrowdFlow
Optical Flow Dataset and Benchmark for Visual Crowd Analysis
Stars: ✭ 87 (+278.26%)
Mutual labels:  crowd-counting
Smart-City-Sample
The smart city reference pipeline shows how to integrate various media building blocks, with analytics powered by the OpenVINO™ Toolkit, for traffic or stadium sensing, analytics and management tasks.
Stars: ✭ 141 (+513.04%)
Mutual labels:  crowd-counting
Awesome Crowd Counting
Awesome Crowd Counting
Stars: ✭ 1,720 (+7378.26%)
Mutual labels:  crowd-counting
Dense-Scale-Network-for-Crowd-Counting
An unofficial implement of paper "Dense Scale Network for Crowd Counting", link: https://arxiv.org/abs/1906.09707
Stars: ✭ 25 (+8.7%)
Mutual labels:  crowd-counting
pytorch-ACSCP
Unofficial implementation of "Crowd Counting via Adversarial Cross-Scale Consistency Pursuit" with pytorch - CVPR 2018
Stars: ✭ 18 (-21.74%)
Mutual labels:  crowd-counting
PCC-Net
PCC Net: Perspective Crowd Counting via Spatial Convolutional Network
Stars: ✭ 63 (+173.91%)
Mutual labels:  crowd-counting
keras-mcnn
keras实现的人群密度检测网络"Single Image Crowd Counting via Multi Column Convolutional Neural Network",欢迎试用、关注并反馈问题...
Stars: ✭ 23 (+0%)
Mutual labels:  crowd-counting
ACSCP cGAN
Code implementation for paper that "ACSCS: Crowd Counting via Adversarial Cross-Scale Consistency Pursuit"; This is method of Crowd counting by conditional generation adversarial networks
Stars: ✭ 36 (+56.52%)
Mutual labels:  crowd-counting
Variations-of-SFANet-for-Crowd-Counting
The official implementation of "Encoder-Decoder Based Convolutional Neural Networks with Multi-Scale-Aware Modules for Crowd Counting"
Stars: ✭ 78 (+239.13%)
Mutual labels:  crowd-counting
PyramidScaleNetwork
To the best of our knowledge, this is the first work to explicitly address feature similarity issue in multi-column design. Extensive experiments on four challenging benchmarks (ShanghaiTech, UCF_CC_50, UCF-QNRF, and Mall) demonstrate the effectiveness of the proposed innovations as well as the superior performance over the state-of-the-art. Mor…
Stars: ✭ 17 (-26.09%)
Mutual labels:  crowd-counting
ailia-models
The collection of pre-trained, state-of-the-art AI models for ailia SDK
Stars: ✭ 1,102 (+4691.3%)
Mutual labels:  crowd-counting
crowd-counting
Image Crowd Counting Using Convolutional Neural Network and Markov Random Field
Stars: ✭ 32 (+39.13%)
Mutual labels:  crowd-counting
W-Net-Keras
An unofficial implementation of W-Net for crowd counting.
Stars: ✭ 20 (-13.04%)
Mutual labels:  crowd-counting
People-Flows
The code for our ECCV 2020 paper: Estimating People Flows to Better Count Them in Crowded Scenes
Stars: ✭ 44 (+91.3%)
Mutual labels:  crowdcounting

Crowd Counting with MCNNs - MindSpark Hackathon 2018


Crowd counting on the ShanghaiTech dataset, using multi-column convolutional neural networks.

This is an unofficial implementation of CVPR 2016 paper "Single Image Crowd Counting via Multi Column Convolutional Neural Network".

Note: Predictions can be made. The work on heatmap generation in under progress.

Installation

  • Install Tensorflow and Keras
  • Install OpenCV
  • Clone this repository (in case you don't want train the model and want to use the pre-trained one).

Data Setup

Download ShanghaiTech Dataset from:


Create a folder: ROOT/data/original/shanghaitech/

Here ROOT is the folder conatining all files, it's the main folder. (Don't create a folder called ROOT!)
  • Save "part_A" under ROOT/data/original/shanghaitech/
  • Save "part_B" under ROOT/data/original/shanghaitech/
  • Got to ROOT/data_preparation/
  • There, run create_gt_test_set_shtech.m in matlab/octave to create ground truth files for test data.
  • Then go to ROOT/data_preparation/ again.
  • run create_training_set_shtech.m in matlab to create training and validataion set along with ground truth files.

- Save the ground truth csv files in ROOT/data/
That completes data-setup!

Test


- Save the model files under: ROOT/final_models
- Finally run: test.py

Train

  • Not recommended unless you have a great processor, or a GPU, because training takes a lot of time. Load the pre-trained model and test it on the test set instead.

  • For tensorflow:
    run from prompt: python3 train.py A(or B)
    Model is saved to modelA/ or modelB/.

  • For keras: run: python3 keras_train.py B
    model is saved to keras_modelB/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].