cmusatyalab / openface

Face recognition with deep neural networks.
http://cmusatyalab.github.io/openface/
Apache License 2.0
15.09k stars 3.6k forks source link

How can i get model? #56

Closed neuralix closed 8 years ago

neuralix commented 8 years ago

Thank you for offering good code.

I have done training, and get files like below.

in {OpenfaceRoot}/training/work/21: classes.t7, model#.t7, optimState_#.t7, opts.t7, test.log, train.log

How can i get corresponding files(:{celeb-classifier.nn4.v1.pkl, nn4.v1.t7, shape_predictor_68_face_landmarks.dat}) from files above?

sschnug commented 8 years ago

Your "training" is only responsible for training the model (the neural network). So your training replaces "nn4.v1.t7" (as i understand it).

The other files are not generated during training:

Remarks:

bamos commented 8 years ago

Thanks @sschnug for the great references!

@neuralix - the trained DNN model indeed replaces nn4.v1.t7 if that's what you want to do. Make sure you understand the differences between training a DNN model and a classification model, which the documentation describes:

I'm closing this since the issue tracker is for development discussions and tracking bugs, but please come to the Gitter chat or mailing list (linked in the README) if this wasn't clear.