DCSL

Generalizable Crowd Counting via Diverse Context Style Learning

Requirement:

python==3.8

pytorch==1.9.1

Test_datasets

链接: https://pan.baidu.com/s/1kChZgPQRCF4x0rAskaDpZw 提取码: ddqp

Parameters:

链接: https://pan.baidu.com/s/1wkXIho0P3HQXBCOMuGopXA 提取码: gap8

Test:

You can run test.py to test the model.

When loading the training parameters trained on which dataset to test the model,please modify models/backbones/model.py: num_class=num_class_SHA or num_class_SHB or num_class_QNRF.

For example,when use SHA.pth,please set num_class=num_class_SHA

GitHub

View Github