Code for Unsupervised crowd counting via cross-domain feature adaptation.
Baidu Cloud : t4qc
We are good in the environment:
We provide the test code for our model. The
result_gcc_qnrf.pth model is adapted from the GCC dataset to the UCF_QNRF dataset. We randomly select an image from the UCF_QNRF dataset and place it in the image folder. And you can either choose the other images for a test.
We are good to run:
python test.py --model CDFA --model_state ./model/result_gcc_qnrf.pth --out ./out/out.png
We will release more pre-trained models soon. Please see the paper for more details.
Thanks to these repositories