[Fix] Fix demo link (#588)

* fix demo link

* update urls
pull/601/head
Li Zhang 2022-06-13 11:07:34 +08:00 committed by GitHub
parent e84bc30f4a
commit 86a50e343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -240,7 +240,7 @@ for index, bbox, label_id in zip(indices, bboxes, labels):
cv2.imwrite('output_detection.png', img)
```
You can find more examples from [here](https://github.com/open-mmlab/mmdeploy/demo/python).
You can find more examples from [here](https://github.com/open-mmlab/mmdeploy/tree/master/demo/python).
```{note}
If you build MMDeploy from the source, please add ${MMDEPLOY_DIR}/build/lib to the environment variable PYTHONPATH.
@ -322,11 +322,11 @@ mmdeploy_load_dynamic(${YOUR_AWESOME_TARGET} MMDeployDynamicModules)
target_link_libraries(${YOUR_AWESOME_TARGET} PRIVATE MMDeployLibs)
```
For more SDK C API usages, please read these [samples](https://github.com/open-mmlab/mmdeploy/demo/csrc).
For more SDK C API usages, please read these [samples](https://github.com/open-mmlab/mmdeploy/tree/master/demo/csrc).
#### C# API
Due to limitations on space, we will not present a specific example. But you can find all of them [here](https://github.com/open-mmlab/mmdeploy/demo/csharp).
Due to limitations on space, we will not present a specific example. But you can find all of them [here](https://github.com/open-mmlab/mmdeploy/tree/master/demo/csharp).
## Evaluate Model

View File

@ -240,7 +240,7 @@ cv2.imwrite('output_detection.png', img)
```
更多模型的 SDK Python API 应用样例,请查阅[这里](https://github.com/open-mmlab/mmdeploy/demo/python)。
更多模型的 SDK Python API 应用样例,请查阅[这里](https://github.com/open-mmlab/mmdeploy/tree/master/demo/python)。
```{note}
如果您使用源码安装方式, 请把 ${MMDEPLOY_DIR}/build/lib 加入到环境变量 PYTHONPATH 中。
@ -323,11 +323,11 @@ target_link_libraries(${YOUR_AWESOME_TARGET} PRIVATE MMDeployLibs)
```
编译时,使用 -DMMDeploy_DIR传入MMDeloyConfig.cmake所在的路径。它在预编译包中的sdk/lib/cmake/MMDeloy下。
更多模型的 SDK C API 应用样例,请查阅[此处](https://github.com/open-mmlab/mmdeploy/demo/csrc)。
更多模型的 SDK C API 应用样例,请查阅[此处](https://github.com/open-mmlab/mmdeploy/tree/master/demo/csrc)。
#### C# API
因篇幅所限,本文不展示具体案例。请参考[这里](https://github.com/open-mmlab/mmdeploy/demo/csharp),了解 SDK C# API 的用法。
因篇幅所限,本文不展示具体案例。请参考[这里](https://github.com/open-mmlab/mmdeploy/tree/master/demo/csharp),了解 SDK C# API 的用法。
## 模型精度评估