Update readme description for onnx
Browse files
README.md
CHANGED
|
@@ -390,13 +390,16 @@ sudo apt install libc++1
|
|
| 390 |
```
|
| 391 |
|
| 392 |
##### **Usage (ONNX)**
|
| 393 |
-
You have to download the **onnxruntime** packages from the [official website](https://github.com/microsoft/onnxruntime). Note that the version of onnxruntime must be higher than or equal to 1.17.1 (e.g. onnxruntime-linux-x64-1.17.1.tgz).
|
|
|
|
|
|
|
| 394 |
```
|
| 395 |
1) cd examples_onnx/
|
| 396 |
2) ./build-and-deploy-linux.sh --ort-root /absolute/path/to/your/onnxruntime/root/dir
|
| 397 |
```
|
| 398 |
-
Note: If executing the onnx demo from a different directory than the one used when running build-and-deploy-linux.sh, ensure to create a symbolic link to src/onnx_model/ to prevent ONNX model file loading failures.
|
| 399 |
-
|
|
|
|
| 400 |
|
| 401 |
#### **2. Windows**
|
| 402 |
##### **Requirements**
|
|
|
|
| 390 |
```
|
| 391 |
|
| 392 |
##### **Usage (ONNX)**
|
| 393 |
+
You have to download the **onnxruntime** packages from the [microsoft official onnxruntime github website](https://github.com/microsoft/onnxruntime). Note that the version of onnxruntime must be higher than or equal to 1.17.1 (e.g. onnxruntime-linux-x64-1.17.1.tgz).
|
| 394 |
+
<br>
|
| 395 |
+
You can check the official **ONNX Runtime releases** from [this website](https://github.com/microsoft/onnxruntime/tags). And for example, to download version 1.17.1 (Linux x64), use [this link](https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-x64-1.17.1.tgz). After extracting the compressed file, you'll find two important directories:`include/` - header files, `lib/` - library files
|
| 396 |
```
|
| 397 |
1) cd examples_onnx/
|
| 398 |
2) ./build-and-deploy-linux.sh --ort-root /absolute/path/to/your/onnxruntime/root/dir
|
| 399 |
```
|
| 400 |
+
Note 1: If executing the onnx demo from a different directory than the one used when running build-and-deploy-linux.sh, ensure to create a symbolic link to src/onnx_model/ to prevent ONNX model file loading failures.
|
| 401 |
+
<br>
|
| 402 |
+
Note 2: The **ONNX model** locates in `src/onnx_model` directory.
|
| 403 |
|
| 404 |
#### **2. Windows**
|
| 405 |
##### **Requirements**
|