simple_tensorflow_serving | Generic and easy-to-use serving service for machine learning models | Machine Learning library
kandi X-RAY | simple_tensorflow_serving Summary
kandi X-RAY | simple_tensorflow_serving Summary
Simple TensorFlow Serving is the generic and easy-to-use serving service for machine learning models. Read more in
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of simple_tensorflow_serving
simple_tensorflow_serving Key Features
simple_tensorflow_serving Examples and Code Snippets
Community Discussions
Trending Discussions on simple_tensorflow_serving
QUESTION
I trained a simple mnist model with tensorflow 2.0 on Google Colab and saved it in the .json format. Click here to check out the Colab Notebook where I've written the code. Then on running the command
!simple_tensorflow_serving --model_base_path="/" --model_platform="tensorflow"
It is showing the error AttributeError: module 'tensorflow' has no attribute 'gfile'
simple_tensorflow_serving helps in easily deploying trained tensorflow model into production.
Versions I'm using:
(1) TensorFlow - 2.0
(2) simple_tensorflow_serving - 0.6.4
Thank you in advance :)
...ANSWER
Answered 2019-Apr-09 at 14:32Simple Tensorflow Serving is not ready for Tensorflow 2.0, since it is using the old API.
In Tensorflow 2.0 the gfile
package has been moved into tf.io
.
Then, you have to downgrade your Tensorflow instance to TF 1.13 use Simple Tensorflow Serving
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install simple_tensorflow_serving
Start the server with the TensorFlow SavedModel. Check out the dashboard in http://127.0.0.1:8500 in web browser. Generate Python client and access the model with test data without coding.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page