-
Notifications
You must be signed in to change notification settings - Fork 382
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
How to train gender model? #35
Comments
I want to know how to train a gender model. |
There isn't anything special about training a gender model vs any other image classifier. So the normal docs in dlib showing to to train an image classifier using a CNN are what you want to look at. Start with the two introduction examples noted http://dlib.net/ml.html#add_layer. |
@davisking If I train the model using tensorflow CNN and I save the weights in dat format. Our dlib.cnn_face_detection_model_v1() will accept or not ? |
no
…On Fri, May 29, 2020 at 8:00 AM Pavithran ***@***.***> wrote:
@davisking <https://github.com/davisking> If I train the model using
tensorflow CNN and I save the weights in dat format. Our
dlib.cnn_face_detection_model_v1() will accept or not ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPYFRZAQBWEQQUIGIX47B3RT6PUFANCNFSM4LJDBTLQ>
.
|
@xhuvom As explained by Davis, there is nothing special about learning this type of model... except a lot of effort, of course, to build a database that is as clean as possible. |
@Cydral , I hadn't noticed, so my reply was late. |
Hi, no problem. I don't know if your database is shareable but if that's the case, I'm interested in improving the model prepared by my team and now available to the community. |
I am trying to train the gender model (apart from the pretrained model) myself. According to the network definitions on the gender example, I have prepared a training program like this which is a combination of the network definitions of gender network and imagenet training.
The training process runs fine, but average loss seems consistent.
step#: 113 learning rate: 0.0001 average loss: 0.672652 steps without apparent progress: 12
I am not sure if I'm doing anything wrong. Please help.
The text was updated successfully, but these errors were encountered: