Official PyTorch implementation of 'Domain-general Crowd Counting in Unseen Scenarios'.(AAAI 2023 Oral) [arXiv]
Python ≥ 3.7.
To install the required packages, please run:
pip install -r requirements.txt
For the data preparation, we follow the processing code in C-3-Framework. (Find processed UCF-QNRF here)
- Set up the settings in main.py
- Run 'main.py'
-
Modify the path to the dataset and model for evaluation in 'test.py'.
-
Run 'test.py'
Part of codes are borrowed from DomainBed and dg_mmld. Thanks for their great work!
If you find this work useful, please cite
@article{du2022domain,
title={Domain-general Crowd Counting in Unseen Scenarios},
author={Du, Zhipeng and Deng, Jiankang and Shi, Miaojing},
journal={arXiv preprint arXiv:2212.02573},
year={2022}
}