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

ShanghaiTech Dataset

Open hdasd opened this issue 4 years ago • 2 comments

Hi,could you tell me how topre-Process the ShanghaiTech Dataset?thinks!

hdasd avatar Dec 14 '20 12:12 hdasd

I think preprocessing is not required for ShanghaiTech since the images are smaller and more uniform. You can run the training step directly You'll probably have to apply some changes to the proposed dataloader crowd_sh

enric1994 avatar Jun 23 '21 11:06 enric1994

I think preprocessing is not required for ShanghaiTech since the images are smaller and more uniform. You can run the training step directly You'll probably have to apply some changes to the proposed dataloader crowd_sh

I do not agree with you. The min resolution of ShanghaiTech part A <256 and the min resolution of ShanghaiTech part B <512. So you will meet crop size error if you not use preprocess code. And I think the preprocess code is sane as QNRF. But this is a trick to use 512 min resolution "preprocess code" for 256 crop size of ShanghaiTech part A.(Because you enlarge the resolution)

12z34x avatar Aug 18 '21 02:08 12z34x