svishwa / crowdcount-mcnn

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

about image size #42

Open xwjBupt opened 5 years ago

xwjBupt commented 5 years ago

hi @svishwa , in the paper,the author mentioned that he down-sampled each training image by 1/4 before generating its density map(in the Remarks),but i did`t see this part in your code?

Besides,what is these code mean in the data_loader.py?

den = cv2.resize(den,(wd_1,ht_1))                
den = den * ((wd*ht)/(wd_1*ht_1))

looking forward to your reply,thanks!!

Anislar commented 4 years ago

any response ?