Giter Club home page Giter Club logo

Comments (2)

navlok-mishra avatar navlok-mishra commented on August 25, 2024

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.

navlok-mishra avatar navlok-mishra commented on August 25, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.