GithubHelp home page GithubHelp logo

KeyError: "The name 'input_image:0' refers to a Tensor which does not exist. The operation, 'input_image', does not exist in the graph."? about mrcnn_serving_ready HOT 6 CLOSED

bendangnuksung avatar bendangnuksung commented on May 29, 2024
KeyError: "The name 'input_image:0' refers to a Tensor which does not exist. The operation, 'input_image', does not exist in the graph."?

from mrcnn_serving_ready.

Comments (6)

AI-ML-Enthusiast avatar AI-ML-Enthusiast commented on May 29, 2024 2

During creating the freeze_graph, just print model.inputs and model.outputs. In my case, the name was
input_image_7. Thanks

from mrcnn_serving_ready.

bendangnuksung avatar bendangnuksung commented on May 29, 2024

The tensor input_image should be in the Graph, are you loading the right model? and have you tried loading the same config class which you used for training?

from mrcnn_serving_ready.

i-chaochen avatar i-chaochen commented on May 29, 2024

Hi, thanks for sharing this serving_ready @bendangnuksung

I can create and load the frozen graph now.

After I loaded the graph, I can get_tensor_by_name('input_image:0'), but what about the outputs?

I can see in your main.py, the output contains output_detection and output_mask, does output_detection contain bounding_box{rois: [N, (y1, x1, y2, x2)]}, class_ids and scores?

from mrcnn_serving_ready.

AI-ML-Enthusiast avatar AI-ML-Enthusiast commented on May 29, 2024

@bendangnuksung @i-chaochen
problem is solved. The tensor name was not same as .pb file. thanks

from mrcnn_serving_ready.

i-chaochen avatar i-chaochen commented on May 29, 2024

problem is solved. The tensor name was not same as .pb file. thanks

so where do you know the tensor name from the frozen graph?

from mrcnn_serving_ready.

Asher94 avatar Asher94 commented on May 29, 2024

How did you get the output for the model.inputs? I tried printing them but nothing appeared.

from mrcnn_serving_ready.

Related Issues (20)

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.