Comments (6)
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.
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.
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.
@bendangnuksung @i-chaochen
problem is solved. The tensor name was not same as .pb file. thanks
from mrcnn_serving_ready.
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.
How did you get the output for the model.inputs? I tried printing them but nothing appeared.
from mrcnn_serving_ready.
Related Issues (20)
- Frozen graph generates difference results compared to the original model HOT 2
- there is not any files in the folder about serving_model/1/variables. HOT 12
- Which .pb file should I use? The one in serving model or the one in frozen model? HOT 2
- How to use saved_model.pb in Tensorflow Model Server? HOT 8
- Can not convert to tflite (UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 3: invalid start byte) HOT 3
- Converting frozen graph in mvNCCompile
- output_names=[out.op.name for out in model.outputs][:4] should be modified to get the 5 loss nodes HOT 2
- What should the inputs and outputs of the SavedModel SignatureDef look like? HOT 2
- About How to predict by tensorflow serving. HOT 2
- How can I read input and output node from frozen inference model (.pb)? HOT 2
- Inference speed really slow! HOT 2
- Rest Api Error
- { "error": "Malformed request: GET /v1/models/mask:predict" } HOT 1
- Unable to convert to tensorflow serving HOT 2
- Deployment on serving failed
- Error help pleas
- sending your input data instances as a JSON object to deployed model HOT 3
- gRPC error HOT 2
- error while converting keras model to tensorflow saved model format
- Error to run main.py file
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 mrcnn_serving_ready.