New features and fixes
This commit is contained in:
@@ -46,6 +46,24 @@ Generate the ONNX model file (example for YOLOv8s)
|
||||
python3 export_yoloV8.py -w yolov8s.pt --simplify --dynamic
|
||||
```
|
||||
|
||||
**NOTE**: To simplify the ONNX model
|
||||
|
||||
```
|
||||
--simplify
|
||||
```
|
||||
|
||||
**NOTE**: To use dynamic batch-size
|
||||
|
||||
```
|
||||
--dynamic
|
||||
```
|
||||
|
||||
**NOTE**: To use implicit batch-size (example for batch-size = 4)
|
||||
|
||||
```
|
||||
--batch 4
|
||||
```
|
||||
|
||||
**NOTE**: If you are using DeepStream 5.1, use opset 12 or lower. The default opset is 16.
|
||||
|
||||
```
|
||||
@@ -110,7 +128,7 @@ Open the `DeepStream-Yolo` folder and compile the lib
|
||||
* DeepStream 5.1 on x86 platform
|
||||
|
||||
```
|
||||
CUDA_VER=11.1 LEGACY=1 make -C nvdsinfer_custom_impl_Yolo
|
||||
CUDA_VER=11.1 make -C nvdsinfer_custom_impl_Yolo
|
||||
```
|
||||
|
||||
* DeepStream 6.2 / 6.1.1 / 6.1 on Jetson platform
|
||||
@@ -119,18 +137,12 @@ Open the `DeepStream-Yolo` folder and compile the lib
|
||||
CUDA_VER=11.4 make -C nvdsinfer_custom_impl_Yolo
|
||||
```
|
||||
|
||||
* DeepStream 6.0.1 / 6.0 on Jetson platform
|
||||
* DeepStream 6.0.1 / 6.0 / 5.1 on Jetson platform
|
||||
|
||||
```
|
||||
CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo
|
||||
```
|
||||
|
||||
* DeepStream 5.1 on Jetson platform
|
||||
|
||||
```
|
||||
CUDA_VER=10.2 LEGACY=1 make -C nvdsinfer_custom_impl_Yolo
|
||||
```
|
||||
|
||||
##
|
||||
|
||||
### Edit the config_infer_primary_yoloV8 file
|
||||
@@ -141,7 +153,6 @@ Edit the `config_infer_primary_yoloV8.txt` file according to your model (example
|
||||
[property]
|
||||
...
|
||||
onnx-file=yolov8s.onnx
|
||||
model-engine-file=yolov8s.onnx_b1_gpu0_fp32.engine
|
||||
...
|
||||
num-detected-classes=80
|
||||
...
|
||||
@@ -152,8 +163,18 @@ parse-bbox-func-name=NvDsInferParseYolo
|
||||
**NOTE**: The **YOLOv8** resizes the input with center padding. To get better accuracy, use
|
||||
|
||||
```
|
||||
...
|
||||
maintain-aspect-ratio=1
|
||||
symmetric-padding=1
|
||||
...
|
||||
```
|
||||
|
||||
**NOTE**: By default, the dynamic batch-size is set. To use implicit batch-size, uncomment the line
|
||||
|
||||
```
|
||||
...
|
||||
force-implicit-batch-dim=1
|
||||
...
|
||||
```
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user