The code of paper: Hypergraph Association Weakly Supervised Crowd Counting
Weakly supervised crowd counting involves the regression of the number of individuals present in an image, using only the total number as the label. However, this task is plagued by two primary challenges: the large variation of head size and uneven distribution of crowd density. To address these issues, we propose a novel Hypergraph Association Crowd Counting (HACC) framework. Our approach consists of a new multi-scale expansion pyramid module which can efficiently handle the large variation of head size. Further, we propose a novel hypergraph association module to solve the problem of uneven distribution of crowd density by encoding higher-order associations among features, which opens a new direction to solve this problem. Experimental results on multiple datasets demonstrate that our HACC model achieves new state-of-the-art results.
If you find this project is useful for your research, please cite:
@article{li2023hypergraph,
title={Hypergraph Association Weakly Supervised Crowd Counting},
author={Li, Bo and Zhang, Yong and Zhang, Chengyang and Piao, Xinglin and Yin, Baocai},
journal={ACM Transactions on Multimedia Computing, Communications and Applications},
year={2023},
publisher={ACM New York, NY}
}
If you want to train the model, please put the module in Trancrowd
@article{liang2022transcrowd,
title={TransCrowd: weakly-supervised crowd counting with transformers},
author={Liang, Dingkang and Chen, Xiwu and Xu, Wei and Zhou, Yu and Bai, Xiang},
journal={Science China Information Sciences},
volume={65},
number={6},
pages={1--14},
year={2022},
publisher={Springer}
}