mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Fix broken link in server usage and remove absolute path from dockerfiles readme (#6926)
This commit is contained in:
parent
ba51774a1f
commit
743a93faf3
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue