simple_tensorflow_serving使用

本小妞迷上赌 提交于 2020-02-26 01:49:55

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

安装uwsgi报错,在uwsgiconfig.py中添加import platform, 并且将os.uname替换为platform.uname

4.生成资料:

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

5.运行环境:

pip373 install tensorflow==1.15.0

6.参考资料:

https://readthedocs.org/projects/stfs/downloads/pdf/latest/

https://github.com/tobegit3hub/simple_tensorflow_serving

https://github.com/czy36mengfei/tensorflow2_tutorials_chinese

https://zhuanlan.zhihu.com/p/52827335

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!