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

How to train on my own dataset? #5

Closed
LonglongaaaGo opened this issue Feb 10, 2021 · 4 comments
Closed

How to train on my own dataset? #5

LonglongaaaGo opened this issue Feb 10, 2021 · 4 comments
Labels
question Further information is requested

Comments

@LonglongaaaGo
Copy link

Hellow!
Thanks for your perfect project!
I wonder to know how to train on my own dataset!
I notice that you use the five landmarks to generate 6DoF pose labels by using standard means. Can you share the code about these methods?
Thanks for your beautiful work!
I am waiting for your reply!

@vitoralbiero
Copy link
Owner

Hello, thanks for your interest in our work.
To train with your own dataset, if you have manually annotated points you can store them into JSON files following the structure of the WIDER FACE annotations.
Or you can use can follow the newly added instructions to annotate your own dataset

Hope this helps!

@LonglongaaaGo
Copy link
Author

Thank you a lot!
But I find that I need the pre_trained Retinaface model. So, is the model from "https://github.com/biubug6/Pytorch_Retinaface"?

@vitoralbiero
Copy link
Owner

I used this implementation https://github.com/deepinsight/insightface/tree/master/detection/RetinaFace
The pre-trained model used was downloaded from https://www.dropbox.com/s/53ftnlarhyrpkg2/retinaface-R50.zip?dl=0

@LonglongaaaGo
Copy link
Author

Thank you for your reply!
Recently, I try to generate annotations on the celeb dataset by using the method recommended in your early reply. But I don't know why these masks I generated do not align with a face. When I use the render_plot function on an annotation, the mask is not aligned with the corresponding picture's face.
I just change the max_size=500 and min_size=256 in annotate_dataset.py because I want to generate annotations on the celeb -256 dataset with pixel size 256*256.

I used this implementation https://github.com/deepinsight/insightface/tree/master/detection/RetinaFace
The pre-trained model used was downloaded from https://www.dropbox.com/s/53ftnlarhyrpkg2/retinaface-R50.zip?dl=0

@vitoralbiero vitoralbiero added the question Further information is requested label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants