-
Notifications
You must be signed in to change notification settings - Fork 137
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 trainging problem #37
Comments
Hi, You probably do not get any response because the face detection method does not detect the face. As for the training results: in order to get the best results you should train the first stage separately and then the second stage. Also: do not train the first stage till it overfits, stop training when the error stops improving frequently (say, you don't get a new, better result in the last 20 minutes). Thanks, Marek |
hello,friend. |
Hi,
Thanks, Marek |
Thank you for your earnest answer to every question.thank you very much. |
The mean shape is also used as the initial shape for face alignment, so you will still need it. I do not have access to the code at the moment (it was on an old university computer). It should however be quite simple to implement. Look at the paper I linked to in my previous post. |
Hi, MareKowalski.I used the code you provided to train the model. when I run the DAN._V2.py,there were some problems,I try to solve the problem,unfortunately ,I didnit make it.I hope you could give me some suggestions. The problems as follows: TypeError:Failed to convert object of type<class"tensorflow.python.data.ops.dataset_ops.PrefetechDataset"> to Tensor. Contents:<PrefetchDataset shapes:(,),types:(tf.float32,tf.float32)>.Consider casting elements to a supported type. |
Hi, I think this code is not from my repo, please start a thread in the repo it comes from. Thanks, Marek |
hi,MarekKowalski,I used the code you provided to train the model. When I tested the image, it didn't respond. Using your model (DAN.npz) also meet same problem,but No problem with other images。I don't know what is going on.
![966207052](https://user-images.githubusercontent.com/33368313/43434980-89fe51e2-94b0-11e8-8697-17a8599bbc3e.jpg)
2、load your network (DAN.npz),the validation error is 0.0177,the train error is 0.035395,When I train this network,the validation error is 0.04789,the train error is 0.0433754, If I continue training the network ,can I achieve the same result as you?How many epochs did you train(approximately)?Can these two stages train at the same time?
I hope you can help me ,thank you very much!
The text was updated successfully, but these errors were encountered: