- `--conf-thres` : Confidence threshold for NMS plugin.
- `--conf-thres` : Confidence threshold for NMS plugin.
- `--topk` : Max number of detection bboxes.
- `--topk` : Max number of detection bboxes.
- `--fp16` : Whether to export half-precision engine.
- `--fp16` : Whether to export half-precision engine.
- `--device` : The CUDA deivce you export engine .
- `--device` : The CUDA deivce you export engine .
You can modify `iou-thres``conf-thres``topk` by yourself.
You can modify `iou-thres``conf-thres``topk` by yourself.
@ -140,7 +138,7 @@ You can infer with c++ in [`csrc/end2end`](csrc/end2end) .
Build:
Build:
Please set you own librarys in [`CMakeLists.txt`](csrc/end2end/CMakeLists.txt) and modify you own config in [`yolov8.hpp`](csrc/end2end/yolov8.hpp) such as `classes names` and `colors`.
Please set you own librarys in [`CMakeLists.txt`](csrc/end2end/CMakeLists.txt) and modify you own config in [`config.h`](csrc/end2end/config.h) such as `CLASS_NAMES` and `COLORS`.