UCloud AI service SDK This SDK include basic APIs to run AI inference services on a http server. It currently only support tensorflow, we will continue to add more platform into it.
Tensorflow (0.11 tested)
-
Install Tensorflow (0.11 prefered)
-
Install UCloud Ufile SDK (https://docs.ucloud.cn/storage_cdn/ufile/tools)
$ wget http://sdk.ufile.ucloud.com.cn/python_sdk.tar.gz $ tar zxvf python_sdk.tar.gz $ cd ufile-python $ sudo python setup.py install
-
Install uai-sdk
$ sudo sh setup.sh install
-
Install Flask
$ sudo pip install Flask
-
Install all other lib your inference code required
- Write your inference code according to uai API (Please refer to ./uai/README.md
- Put your code into ./http_server/
- Now run your http service, the default port is 8080