基于条件对抗生成神经网络的ACSCP人群密度估计模型----ACSCP crowd counting model

github

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
2 Get the code
git clone https://github.com/Ling-Bao/ACSCP_cGAN
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](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Zhang_Single-Image_Crowd_Counting_CVPR_2016_paper.pdf). 2 Get dataset and its corresponding map label [Baidu Yun](https://pan.baidu.com/s/1gccvnvIeLgQZCVuA6iZEjA) 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](main.py) to evalute crowd counting model
python main.py --phase train
2 Eval. Using [main.py](main.py) to evalute crowd counting model
python main.py --phase test

OR

python main.py --phase inference
3 Model release Model release. Using [product.py](product.py) to release crowd counting model. Download release version 0.1.0, please click on [here](release/version1.0.0.tar.gz) ### Addtional 1 Crowd map generation tools Source code store in “data_maker”, detail please check [here](data_maker/README.md). **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

3 crowd counting paper collection, thanks for **gjy3035** **Github:**[ Awesome-Crowd-Counting](https://github.com/gjy3035/Awesome-Crowd-Counting) **Density Map Generation from Key Points:** [[Matlab Code]](https://github.com/aachenhang/crowdcount-mcnn/tree/master/data_preparation) [[Python Code]](https://github.com/leeyeehoo/CSRNet-pytorch/blob/master/make_dataset.ipynb) ### Details 1 Tring to delete dropout layers. 2 Improving activation funtion for last layer to adapt crowd counting map estimation.

formulation

=======
License

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
boosting-crowd-counting-via-multifaceted-attention是一种通过多方面注意力提升人群计数的方法。该方法利用了多个方面的特征来准确估计人群数量。 在传统的人群计数方法中,往往只关注人群的整体特征,而忽略了不同区域的细节。然而,不同区域之间的人群密度可能存在差异,因此细致地分析这些区域是非常重要的。 该方法首先利用卷积神经网络(CNN)提取图像的特征。然后,通过引入多个注意力机制,分别关注图像的局部细节、稀疏区域和密集区域。 首先,该方法引入了局部注意力机制,通过对图像的局部区域进行加权来捕捉人群的局部特征。这使得网络能够更好地适应不同区域的密度变化。 其次,该方法采用了稀疏区域注意力机制,它能够识别图像中的稀疏区域并将更多的注意力放在这些区域上。这是因为稀疏区域往往是需要重点关注的区域,因为它们可能包含有人群密度的极端变化。 最后,该方法还引入了密集区域注意力机制,通过提取图像中人群密集的区域,并将更多的注意力放在这些区域上来准确估计人群数量。 综上所述,boosting-crowd-counting-via-multifaceted-attention是一种通过引入多个注意力机制来提高人群计数的方法。它能够从不同方面细致地分析图像,并利用局部、稀疏和密集区域的特征来准确估计人群数量。这个方法通过考虑人群分布的细节,提供了更精确的人群计数结果。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值