Awesome
Boosting-Crowd-Counting-via-Multifaceted-Attention
Official Implement of CVPR 2022 paper 'Boosting Crowd Counting via Multifaceted Attention'
Train
- Dowload Dataset JHU++ or UCF-QNRF.
- Preprocess them by 'preprocess_dataset.py' or 'preprocess_dataset_ucf.py'.
- Change the path to where your data and models are located in 'Train.py'.
- Run 'Train.py'
- Wait patiently and happily for the program to finish.
- Then you will get a good counting model!
Test
- Dowload Dataset JHU++ or UCF-QNRF.
- Preprocess them by 'preprocess_dataset.py' or 'preprocess_dataset_ucf.py'.
- JHU Model Link; UCF Model Link
- Change the path to where your data and models are located in 'Test.py'.
- Run 'Test.py'.
Citation
If you use this code for your research, please cite our paper:
@inproceedings{lin2022boosting,
title={Boosting Crowd Counting via Multifaceted Attention},
author={Lin, Hui and Ma, Zhiheng and Ji, Rongrong and Wang, Yaowei and Hong, Xiaopeng},
booktitle={CVPR},
year={2022}
}