[docs][win] add windows c++ sdk demo to examples (#136)

* [docs] format docs with markdown with language tags

* [docs][win] add windows c++ sdk demo

* [docs][win] add windows c++ sdk demo to examples

* [docs][api] update runtime_option docs
This commit is contained in:
DefTruth
2022-08-22 10:53:00 +08:00
committed by GitHub
parent f7e4b8490f
commit beddcba900
54 changed files with 278 additions and 164 deletions

View File

@@ -7,7 +7,7 @@
本目录下提供`infer.py`快速完成YOLOv6在CPU/GPU以及GPU上通过TensorRT加速部署的示例。执行如下脚本即可完成
```
```bash
#下载部署示例代码
git clone https://github.com/PaddlePaddle/FastDeploy.git
cd examples/vision/detection/yolov6/python/
@@ -31,7 +31,7 @@ python infer.py --model yolov6s.onnx --image 000000014439.jpg --device gpu --use
## YOLOv6 Python接口
```
```python
fastdeploy.vision.detection.YOLOv6(model_file, params_file=None, runtime_option=None, model_format=Frontend.ONNX)
```
@@ -46,7 +46,7 @@ YOLOv6模型加载和初始化其中model_file为导出的ONNX模型格式
### predict函数
> ```
> ```python
> YOLOv6.predict(image_data, conf_threshold=0.25, nms_iou_threshold=0.5)
> ```
>