3°

simple_tensorflow_serving使用

1. 地址:

https://github.com/tobegit3hub/simple_tensorflow_serving

2.下载后解压到目录

3.准备环境(只能在linux上,因为window下安装uwsgi失败):

sudo ln -s /usr/local/ssl/lib/libcrypto.so.45.0.4 /usr/lib64/libcrypto.so
sudo ln -s /usr/local/ssl/lib/libssl.so.47.0.5 /usr/lib64/libssl.so
pip373 install uwsgi
pip373 install configparser flask-cors pandas pillow protobuf
python3 setup.py install
python3 setup.py develop

4.生成资料:

pip373 install sphinx sphinx_rtd_theme recommonmark
cd simple_tensorflow_serving-master/docs
make singlehtml
build/singlehtml/index.html

5.运行环境:

pip373 install tensorflow

 

本文由【mbzhong】发布于开源中国,原文链接:https://my.oschina.net/mengyoufengyu/blog/3158604

全部评论: 0

    我有话说: