Model export
See original GitHub issueCould you please give a code example of how to export a model for TensorFlow Serving? No luck with estimator.export_saved_model or tf.estimator.BestExporter. I must be doing something wrong with feature_spec.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:21 (7 by maintainers)
Top Results From Across the Web
Exporting models for prediction - AI Platform - Google Cloud
This guide describes the different ways to export trained models for deployment on AI Platform Prediction. The following methods of exporting your model...
Read more >Model export—ArcGIS CityEngine Resources | Documentation
Model export CityEngine can export graphs (street networks), shapes (such as lots or street shapes), and models (such as buildings).
Read more >Import/Export a model | MeaningCloud
To export a model's categories to a file, just click on the sidebar's Export button and it will create a file with the...
Read more >Linear regression: Model export - IBM
The Model export dialog provides options for You can export parameter estimates and their covariances to a specified file (in XML format).
Read more >Export a SavedModel | TensorFlow Hub
Overview. SavedModel is TensorFlow's standard serialization format for trained models or model pieces. It stores the model's trained weights ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I ran the exporter (above) on my ranker. (my model only has 1 input, a sparse id (used for an embedding lookup) and it has group size 1. )
I understand the input shape
(-1)is a protobuf string. However, I thought the output shape was interesting. I would score my documents using thepredictsignature right? It has a (-1, -1) shape. What does this mean? I would expect [-1, 1] for a batch of scalars, where each scalar is a document score… @ramakumar1729 ?The example below will score 1 document. How can I score 2,3 or a batch of docs?
I’m not sure if the last brackets are needed. Rest of the code looks fine.