mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
parent
e84bc30f4a
commit
86a50e343a
@ -240,7 +240,7 @@ for index, bbox, label_id in zip(indices, bboxes, labels):
|
|||||||
cv2.imwrite('output_detection.png', img)
|
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}
|
```{note}
|
||||||
If you build MMDeploy from the source, please add ${MMDEPLOY_DIR}/build/lib to the environment variable PYTHONPATH.
|
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)
|
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
|
#### 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
|
## Evaluate Model
|
||||||
|
|
||||||
|
@ -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}
|
```{note}
|
||||||
如果您使用源码安装方式, 请把 ${MMDEPLOY_DIR}/build/lib 加入到环境变量 PYTHONPATH 中。
|
如果您使用源码安装方式, 请把 ${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下。
|
编译时,使用 -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
|
#### 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 的用法。
|
||||||
|
|
||||||
## 模型精度评估
|
## 模型精度评估
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user