This is the repo for Attention scaling for crowd counting in CVPR 2020, which proposed a simple but effective architecture for crowd counting.
In an Anaconda environment, we need the following packages.
Python: 3.7.5
PyTorch: 1.3.1
For ShanghaiTech Part A dataset
Model: Link, Password: 585s
If you find the ASNet useful, please cite our paper. Thank you!
@inproceedings{jiang2020attention,
title={Attention scaling for crowd counting},
author={Jiang, Xiaoheng and Zhang, Li and Xu, Mingliang and Zhang, Tianzhu and Lv, Pei and Zhou, Bing and Yang, Xin and Pang, Yanwei},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={4706--4715},
month={June},
year={2020}
}