Fix YOLOv8 accuracy

This commit is contained in:
Marcos Luciano
2023-02-09 00:41:35 -03:00
parent 940d244ad4
commit 2d6b92eb64
9 changed files with 43 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ Open the `DeepStream-Yolo` folder and compile the lib
### Edit the config_infer_primary_yolox file
Edit the `config_infer_primary_yolox.txt` file according to your model (example for YOLOX-s standard)
Edit the `config_infer_primary_yolox.txt` file according to your model (example for YOLOX-s standard with 80 classes)
```
[property]
@@ -96,6 +96,8 @@ Edit the `config_infer_primary_yolox.txt` file according to your model (example
custom-network-config=yolox_s.cfg
model-file=yolox_s.wts
...
num-detected-classes=80
...
```
**NOTE**: If you use the **legacy** model, you should edit the `config_infer_primary_yolox_legacy.txt` file.
@@ -135,3 +137,5 @@ config-file=config_infer_primary_yolox.txt
```
deepstream-app -c deepstream_app_config.txt
```
**NOTE**: For more information about custom models configuration (`batch-size`, `network-mode`, etc), please check the [`docs/customModels.md`](customModels.md) file.