Fix Darknet models / Small fixes

This commit is contained in:
Marcos Luciano
2023-06-16 14:56:18 -03:00
parent f8758d0e0e
commit f630b10a80
5 changed files with 27 additions and 15 deletions

View File

@@ -190,7 +190,7 @@ parse-bbox-func-name=NvDsInferParseYoloE
...
```
**NOTE**: If you are using a custom model, you should edit the `config_infer_primary_yolonas_custom.txt` file.
**NOTE**: If you are using a **custom** model, you should edit the `config_infer_primary_yolonas_custom.txt` file.
**NOTE**: The **YOLO-NAS** resizes the input with left/top padding. To get better accuracy, use
@@ -201,6 +201,22 @@ symmetric-padding=0
...
```
**NOTE**: The **pre-trained YOLO-NAS** uses zero mean normalization on the image preprocess. It is important to change the `net-scale-factor` according to the trained values.
```
...
net-scale-factor=0.0039215697906911373
...
```
**NOTE**: The **custom YOLO-NAS** uses no normalization on the image preprocess. It is important to change the `net-scale-factor` according to the trained values.
```
...
net-scale-factor=1
...
```
**NOTE**: By default, the dynamic batch-size is set. To use implicit batch-size, uncomment the line
```