Giter Club home page Giter Club logo

acscp_cgan's Introduction

HEAD

ACSCP crowd counting model

======= License

Introduction

This is open source project for crowd counting. Implement with paper "Crowd Counting via Adversarial Cross-Scale Consistency Pursuit" from Shanghai Jiao Tong University. For more details, please refer to our Baidu Yun

multimotivations-scale block

loss

generator

architecture

comparision

loss_result

pathch_errors

result_ShanghaiTech

lambda_c

tensorboard

Contents

  1. Installation
  2. Preparation
  3. Train/Eval/Release
  4. Additional
  5. Details

Installation

  1. Configuration requirements
python3.x

Please using GPU, suggestion more than GTX960

python-opencv
#tensorflow-gpu==1.0.0
#tensorflow==1.0.0
scipy==1.0.1
matplotlib==2.2.2
numpy==1.14.2

conda install -c https://conda.binstar.org/menpo opencv3
pip install -r requirements.txt
  1. Get the code
git clone [email protected]:Ling-Bao/ACSCP_cGAN.git
cd ACSCP_cGAN

Preparation

  1. ShanghaiTech Dataset. ShanghaiTech Dataset makes by Zhang Y, Zhou D, Chen S, et al. For more detail, please refer to paper "Single-Image Crowd Counting via Multi-Column Convolutional Neural Network" and click on here.

  2. Get dataset and its corresponding map label Baidu Yun Password: yvs1

  3. Unzip dataset to ACSCP_cGAN root directory

unzip Data.zip

Train/Eval/Release

Train is easy, just using following step.

  1. Train. Using main.py to train crowd counting model
python main.py --phase train
  1. Eval. Using main.py to evalute crowd counting model
python main.py --phase test

OR

python main.py --phase inference
  1. Model release Model release. Using product.py to release crowd counting model. Download release version 1.0.0, please click on here

Addtional

  1. Crowd map generation tools Source code store in "data_maker", detail please check here. **Note: **This tools write by matlab, please install matlab.

  2. Results

    formulation

    Original image

    formulation

    Real crowd map, counting is 707

    formulation

    Predict crowd map, counting is 698

  1. crowd counting paper collection, thanks for gjy3035 Github: Awesome-Crowd-Counting Density Map Generation from Key Points: [Matlab Code] [Python Code]

Details

  1. Tring to delete dropout layers.

======= License

TAIL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.