MTCNN-Tensorflow icon indicating copy to clipboard operation
MTCNN-Tensorflow copied to clipboard

How to convert the three models of PNet, RNet, Onet into single pb file?

Open BrownOfSummer opened this issue 6 years ago • 3 comments

How to convert the three models of PNet, RNet, Onet into single pb file, so it simple to deploy in C++?

BrownOfSummer avatar Apr 09 '19 09:04 BrownOfSummer

Using three models can also deployed simply in C++.

xiaqing10 avatar Apr 16 '19 06:04 xiaqing10

How to convert the three models of PNet, RNet, Onet into single pb file, so it simple to deploy in C++?

I think it will be little complex to convert three model to one pb file. A pb file looks like only contain tensor, tensor'op and their paramter.

MTCNN needs run NMS after run PNet and RNet. But in this project looks like NMS code with numpy,not tensorflow, the PRO Net connect part code with python as well..

therefore,maybe you need define your own tensor NMS and use tensor connect three model.

chenkeyi2013 avatar Apr 22 '19 13:04 chenkeyi2013

Using three models can also deployed simply in C++.

How to convert the three models of PNet, RNet, Onet into single pb file, so it simple to deploy in C++?

I think it will be little complex to convert three model to one pb file. A pb file looks like only contain tensor, tensor'op and their paramter.

MTCNN needs run NMS after run PNet and RNet. But in this project looks like NMS code with numpy,not tensorflow, the PRO Net connect part code with python as well..

therefore,maybe you need define your own tensor NMS and use tensor connect three model.

Tensorflow can do NMS, the difficult is how to do image pyramid

heisherhub avatar May 06 '20 12:05 heisherhub