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

About the face size in create_face_12c.sh #29

Closed
MaxLingwei opened this issue Sep 25, 2016 · 6 comments
Closed

About the face size in create_face_12c.sh #29

MaxLingwei opened this issue Sep 25, 2016 · 6 comments

Comments

@MaxLingwei
Copy link

Dear anson,
I've read you code in create_face_12c.sh. I found that you resize the image to 60 * 60. I don't understand why you do so. And by the way why do you set the RESIZE_HEITHG and RESIZE_WIDTH both to be 15?
Hope for your answering. Thank you very much!

@anson0910
Copy link
Owner

Hi, the images created from that .sh file are actually 15 * 15, the comments were copied from create_face_48c.sh, sorry..
The face sizes in the lmdb are sizes of 15, such that one image can create 10 crops (top-left, top-right, bottom-left, middle, and mirrors of previous 5 crops) of sizes 12 x 12 during training.

@MaxLingwei
Copy link
Author

So you mean that the final image used to training is also 12 * 12?

@anson0910
Copy link
Owner

The images created are of size 15 * 15, but caffe will crop blocks of sizes 12 x 12.

@MaxLingwei
Copy link
Author

And in which step will caffe crop the image?

@anson0910
Copy link
Owner

When you perform training through executing
./build/tools/caffe train --solver=models/face_12c/solver.prototxt

It's specified inside face_12c/train_val.prototxt

@MaxLingwei
Copy link
Author

OK, I see. It's very nice for you to answer my question. Thany you very much!

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