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

picture preprocessing problem #3

Open
tim20120526 opened this issue Sep 20, 2018 · 1 comment
Open

picture preprocessing problem #3

tim20120526 opened this issue Sep 20, 2018 · 1 comment

Comments

@tim20120526
Copy link

Hi! @xiaomengyc
I saw the images were resized to 256x256 then randomly cropped to 224x224 during training,but in the code ,smaller edge of the image will be resized to 256,then randomly cropped.
emm..i desire to know how to resize the images during training and test,especially for the localization test.
Thank you very much!Good luck to you!

@xiaomengyc
Copy link
Owner

@tim20120526 Images are firstly resized to 256256, and then cropped to 224224 in the training stage. For the testing stage, images are directly resized to 224*224. Sorry, I didn't get your point of resizing the smaller edge to 256. I think this is the common technique adopted in detection tasks rather than classification tasks.
Best.

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