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

Resize/crop #69

Open
samuro95 opened this issue Oct 13, 2021 · 2 comments
Open

Resize/crop #69

samuro95 opened this issue Oct 13, 2021 · 2 comments

Comments

@samuro95
Copy link

No description provided.

@samuro95 samuro95 changed the title Hi, When you train the model, how do you resize the ImageNet images to 256x256. Your code suggests that you resize and crop. Is it true ? Do you do that for other datasets to ? Resize/crop Oct 13, 2021
@samuro95
Copy link
Author

samuro95 commented Oct 13, 2021

Hi, When you train the model, how do you resize the ImageNet images to 256x256 ? Your code suggests that you resize first to 266x266 and then crop. Is it true ? Do you do that for other datasets too that are already 256x256 ?

@lyndonzheng
Copy link
Owner

Hi @samuro95, thanks for your interest. Yes, we directly resize images to a larger size and then crop them to 256x256 on all datasets. This is a general data augmentation method on deep learning. During the testing, we will directly resize images to 256x256.

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

2 participants