davidsandberg / facenet

Face recognition using Tensorflow
MIT License
13.8k stars 4.81k forks source link

Single .pb file for MTCNN #1002

Open bansalshubh91 opened 5 years ago

bansalshubh91 commented 5 years ago

@apollo-time: Thank you very much for your reply and elegant work. I noticed that you've saved three separate .pb files for O-net, P-net, and R-net. The detect_face, uses these three networks, but it adds lots of calculations in between. Do you think if it is possible to generate a single network (with a single .pb file) that encompasses these calculations as well? So that we can have the image as the input and the bounding boxes as the output of this single networks.

Originally posted by @sara-dahl in https://github.com/davidsandberg/facenet/issues/218#issuecomment-296859741


@davidsandberg and @apollo-time : Thank you very much for your excellent work and contribution. @sara-dahl : I've the same concern as you that can we please have a single ''.pb'' file to encompass the intermediate calculations done by ''detect_faces'' method. I request your kind support and help in this regard. Thanks a lot!

heisherhub commented 4 years ago

I found one in here https://github.com/blaueck/tf-mtcnn. But I do not know how to make the mtcnn.pb. Do you know it?