This is the PyTorch version repo for The official codes for "Frequency Feature Pyramid Network with Global-Local Consistency Loss for Crowd and Vehicle Counting in Congested Scenes".
ShanghaiTech part A Dataset.
We strongly recommend Anaconda as the environment.
Python: 2.7
PyTorch: 0.4.0
CUDA: 9.2
Please follow the 'gt_A_train.m' and 'gt_A_test.m' to generate the ground truth.
Try time ./py_train.h
to start training process.
MAE: 57.46 MSE: 88.04
If you find the FFPNet useful, please cite our paper. Thank you!
bit citation