Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShanghaiTech Dataset #33

Open
hdasd opened this issue Dec 14, 2020 · 2 comments
Open

ShanghaiTech Dataset #33

hdasd opened this issue Dec 14, 2020 · 2 comments

Comments

@hdasd
Copy link

hdasd commented Dec 14, 2020

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

@enric1994
Copy link

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

@12z34x
Copy link

12z34x commented Aug 18, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants