inference-client 是滴滴云推理服务的 HTTP 客户端示例代码
从 didiyun 获取token, 替换代码中的 token , 然后运行:
cd tensorflow-client/python
pip install -r requirements.txt
python mnist.py API_URL(https://xxxxxx.eis.didiyunapi.com/v1/model/tensorflow/predict)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)