Extension of IJCAI 2021 paper 'Direct Measure Matching for Crowd Counting'
- Dowload Dataset JHU++ or UCF-QNRF.
- Preprocess them by 'preprocess_dataset.py' in Link or 'preprocess_dataset_ucf.py'.
- Dowload the pretrained transformer backbone pvt_v2_b3 from PVT and put it in directory 'models'.
- 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!
- Dowload Dataset JHU++ or UCF-QNRF.
- Preprocess them by 'preprocess_dataset.py' in Link or 'preprocess_dataset_ucf.py'.
- JHU Model Link; UCF Model Link
- Dowload the pretrained transformer backbone pvt_v2_b3 from PVT and put it in directory 'models'.
- Change the path to where your data and models are located in 'Test.py'.
- Run 'Test.py'.