svishwa / crowdcount-mcnn

Single Image Crowd Counting via MCNN (Unofficial Implementation)
MIT License
499 stars 179 forks source link

What size of image should I use to get good performance #10

Closed mrlzla closed 6 years ago

mrlzla commented 6 years ago

As I can see there is only conv layers and no fully connected (sure) so we could feed image of any size. I have no dataset you trained the model so my question is in topic ;) What sizes of image were used to train the model?

svishwa commented 6 years ago

I followed the training procedure explained in the original paper (https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Zhang_Single-Image_Crowd_Counting_CVPR_2016_paper.pdf).

The training dataset was formed by cropping patches of size 1/4th the original image size from random locations.

For inference, I used the test image of original resolution. Btw, the dataset links are now provided in the readme file.