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 training step #40

Open
leequan opened this issue Nov 9, 2017 · 1 comment
Open

About the training step #40

leequan opened this issue Nov 9, 2017 · 1 comment

Comments

@leequan
Copy link

leequan commented Nov 9, 2017

Dear anson:
I have ran you code before and now I'd like to train my own caffee model.
But I don't understand the training step. For example,I do not know whether the six networks can train at the same time. If training alone, where to get the input of net_12_cal, net_24c ? What is the difference between the face_12c and face_12c2 folder model? What are the results of * _SRquantize _ *. Caffemodel and * _quantize _ *. Caffemodel preserveing? After 400000 iterations, accuracy = 0.5, loss = 0.64 almost unchanged by training 12-net alone, what should be the result of this result.
So I do hope you can answer my question if convenient. Thank you very much!

@anson0910
Copy link
Owner

So all the nets should be trained alone, but input data for training higher resolution nets are dependent on lower resolution ones.
Calibration nets are not dependent on each other, so you can train those first.

Negative images to feed into 24-net are the negative images classified as positive by 12-net, and negative images to feed into 48-net are the negative images classified as positive by the cascade of 12-net and 24-net.

Steps to train the nets can be found in the README.

You can ignore the files with quantize in them, those are just used for my implementation on hardware.

Training 12-net can fail several times without a good initialization, you can just try retraining a few times.
The accuracy should be around 0.9 - 0.95.

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