Bayesian-Crowd-Counting icon indicating copy to clipboard operation
Bayesian-Crowd-Counting copied to clipboard

Ann .mat file to preprocess the input dataset

Open moncio opened this issue 4 years ago • 2 comments

Hello to everyone, I'm interested to test this repo with my personal dataset against one of the pretrained models. Reviewing the UCF-QNRF dataset whic I downloaded, I realised for each image (jpg file), there is another file (img_xxx_ann.mat), and trying the script "preprocess_dataset.py" I observe this .mat file is necessary to preprocess the dataset just before to test it. So with all of that, my question is what is exaclty this .mat file? How is the way to generate it?

Thanks in advance!

moncio avatar Jun 23 '20 10:06 moncio

I'm having the same issue, please help

navsgit avatar Jul 30 '20 03:07 navsgit

Hi So I've finally figured it out, if you just want to test with your own dataset but don't have .mat files (or .npy) files, just copy an .npy file from a different image, because all it contains is data for comparison. so use that and use test.py.

navsgit avatar Jul 30 '20 05:07 navsgit