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

image resize #8

Open
ShiAngWang opened this issue Nov 30, 2021 · 1 comment
Open

image resize #8

ShiAngWang opened this issue Nov 30, 2021 · 1 comment

Comments

@ShiAngWang
Copy link

Hi, while training, have you resized the images into a specific size or used the original image without transformation? If you resized the images, can you show where the code is?

@yun-liu
Copy link
Owner

yun-liu commented Nov 30, 2021

We just used the original image size without resizing. To do this, we used a batch size of 1 (code) and set the iter_size in Caffe to 5 (code). In this way, the gradients during training are averaged among 5 images, similar to the effect of the batch size of 5 (we don't use batchnorm, so iter_size=5 euqals to batch size=5 here).

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