Skip to content

LoraLinH/Multidimensional-Measure-Matching-for-Crowd-Counting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multidimensional Measure Matching for Crowd Counting

Extension of IJCAI 2021 paper 'Direct Measure Matching for Crowd Counting'

Train

  1. Dowload Dataset JHU++ or UCF-QNRF.
  2. Preprocess them by 'preprocess_dataset.py' in Link or 'preprocess_dataset_ucf.py'.
  3. Dowload the pretrained transformer backbone pvt_v2_b3 from PVT and put it in directory 'models'.
  4. Change the path to where your data and models are located in 'Train.py'.
  5. Run 'Train.py'.
  6. Wait patiently and happily for the program to finish.
  7. Then you will get a good counting model!

Test

  1. Dowload Dataset JHU++ or UCF-QNRF.
  2. Preprocess them by 'preprocess_dataset.py' in Link or 'preprocess_dataset_ucf.py'.
  3. JHU Model Link; UCF Model Link
  4. Dowload the pretrained transformer backbone pvt_v2_b3 from PVT and put it in directory 'models'.
  5. Change the path to where your data and models are located in 'Test.py'.
  6. Run 'Test.py'.

About

Multidimensional Measure Matching for Crowd Counting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages