didiyun / inference-client

滴滴云推理服务的 HTTP 客户端示例代码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inference-client

Build Status Build Status License

简介

inference-client 是滴滴云推理服务的 HTTP 客户端示例代码

安装运行

didiyun 获取token, 替换代码中的 token , 然后运行:

例子: Tensorflow Python Client Demo

cd tensorflow-client/python
pip install -r requirements.txt
python mnist.py API_URL(https://xxxxxx.eis.didiyunapi.com/v1/model/tensorflow/predict)

例子: Pytorch Python Client Demo

安装protoc

cd pytorch-client/python
pip install -r requirements.txt
sh build-protoc.sh
python resnet_demo.py API_URL(https://xxxxxx.eis.didiyunapi.com/v1/model/pytorch/predict)

About

滴滴云推理服务的 HTTP 客户端示例代码

License:Apache License 2.0


Languages

Language:Python 53.7%Language:C++ 21.5%Language:Java 15.9%Language:Go 5.2%Language:CMake 3.1%Language:Shell 0.6%