Comments (2)
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
As a workaround, I had to modify the signature_name in https://github.com/fpaupier/tensorflow-serving_sidecar/blob/master/client.py#L103
formatted_json_input = json.dumps({"signature_name": "serving_default", "instances": image_tensor.tolist()})
Is there a way to set signature_name of the merged model while merging models?
from merging-models-for-tensorflow-serving.
We can't do much about this. We have to change default_signature in Tensorflow-Serving client code.
I couldn't think of any other good solution so feel free to reopen it.
from merging-models-for-tensorflow-serving.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merging-models-for-tensorflow-serving.