Fix broken link in server usage and remove absolute path from dockerfiles readme (#6926)

This commit is contained in:
Raduan Al-Shedivat 2021-03-09 22:54:21 +03:00 committed by GitHub
parent ba51774a1f
commit 743a93faf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -342,7 +342,7 @@ Note: When running the container you built in Docker, please either use 'nvidia-
```
3. Send HTTP requests to the container running ONNX Runtime Server
Send HTTP requests to the docker container through the binding local port. Here is the full [usage document](https://github.com/Microsoft/onnxruntime/blob/master/docs/ONNX_Runtime_Server_Usage.md).
Send HTTP requests to the docker container through the binding local port. Here is the full [usage document](../docs/ONNX_Runtime_Server_Usage.md).
```
curl -X POST -d "@request.json" -H "Content-Type: application/json" http://0.0.0.0:{your_local_port}/v1/models/mymodel/versions/3:predict
```

View file

@ -53,7 +53,7 @@ http://<your_ip_address>:<port>/v1/models/<your-model-name>/versions/<your-versi
### Request and Response Payload
The request and response need to be a protobuf message. The Protobuf definition can be found [here](../onnxruntime/server/protobuf/predict.proto).
The request and response need to be a protobuf message. The Protobuf definition can be found [here](../server/protobuf/predict.proto).
A protobuf message could have two formats: binary and JSON. Usually the binary payload has better latency, in the meanwhile the JSON format is easy for human readability.