Files
FastDeploy/docs/compile/README.md
huangjianhui ec19fb10d3 Add multi-label function for yolov5 (#15)
* Add multi-label function for yolov5

* Update README.md

Update doc
2022-07-12 20:17:54 +08:00

18 lines
1005 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# FastDeploy编译
本文档说明编译C++预测库、Python预测库两种编译过程根据编译的平台参考如下文档
- [Linux & Mac 编译](linux_and_mac.md)
- [Windows编译](windows.md)
其中编译过程中,各平台上编译选项如下表所示
| 选项 | 作用 | 备注 |
|:---- | :--- | :--- |
| ENABLE_ORT_BACKEND | 启用ONNXRuntime推理后端默认ON | - |
| WITH_GPU | 是否开启GPU使用默认OFF | 当设为TRUE时须通过CUDA_DIRECTORY指定cuda目录如/usr/local/cuda; Mac上不支持设为ON |
| ENABLE_TRT_BACKEND | 启用TensorRT推理后端默认OFF | 当设为TRUE时需通过TRT_DIRECTORY指定tensorrt目录如/usr/downloads/TensorRT-8.4.0.1; Mac上不支持设为ON|
| ENABLE_VISION | 编译集成视觉模型模块包括OpenCV的编译集成默认OFF | - |
| ENABLE_PADDLE_FRONTEND | 编译集成Paddle2ONNX默认ON | - |
| ENABLE_DEBUG | 当为ON时支持输出DEBUG信息但可能会有性能损耗默认OFF | - |