luuil / merging-models-for-tensorflow-serving Goto Github PK
View Code? Open in Web Editor NEWMerging Models for TensorFlow Serving HOT UPDATING
Home Page: https://luuil.github.io/2018/09/15/Merging-Models-for-TensorFlow-Serving/
Merging Models for TensorFlow Serving HOT UPDATING
Home Page: https://luuil.github.io/2018/09/15/Merging-Models-for-TensorFlow-Serving/
What I understood after playing around the scripts is that it just merges two frozen model (.pb files) into single model but the merged model is still storing the information about each member models.
Earlier, I was under the impression that we can unify and aggregate the models using this script and in the Tensorflow-serving, we can use the merged model as if it is a single model. But it is not, when we deploy it in Tensorflow-serving then we are still allowed to post the query to only one of the member model.
Note: signature_name = serving_default is hard-coded in the Tensorflow-serving which doesn't work with merged model.
My question is that
https://stackoverflow.com/questions/59381246/how-to-sequentially-combine-2-tensorflow-models
The problem mentioned in the above is what I have been trying to achieve.
From the repo. name, I thought it is what I needed but it doesn't. Please let me know if I am missing anything?
I have a merged model running in Tensorflow-Serving and when I do the following then I get an error.
python client.py --server_url "http://localhost:8501/v1/models/faster_rcnn_resnet:predict" --image_path ~/Downloads/image1.jpg --output_json ~/Downloads/output_image1.json --save_output_image "True" --label_map "$(pwd)/data/labels.pbtxt"
Error:
'Serving signature name: "serving_default" not found in signature def'
How to get rid of it?
Thanks
Hi,
Do you think it is possible to combine two models in such a way that the output of the first model, goes as input to the second model?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.