facenet icon indicating copy to clipboard operation
facenet copied to clipboard

How to combine two models to a single pb file?

Open tongvantruong opened this issue 4 years ago • 1 comments

Dear,

My goal is adding more dataset to the pre-trained model to increase the accuracy.

  1. I freezed the graph to get the 1st model named pre-trained-model.pb
  2. Then I trained another model based on my own images followed this topic named new-model.pb

How can I merge these 2 model into one final-model.pb? or can I feed the 1st model to the second model to produce the final single model (pb)?

tongvantruong avatar Apr 10 '20 04:04 tongvantruong

This may be of help : https://luuil.github.io/2018/09/15/Merging-Models-for-TensorFlow-Serving/

xioto avatar May 20 '22 16:05 xioto