NVIDIA DeepStream SDK API Reference

9.2 Release
GlobalConfig Struct Reference

Detailed Description

nvds_eval_config.h

Configuration structures and GKeyFile-based INI loader for nvinfereval.

Config file format (GKeyFile / INI):

[eval] eval-interval = 1000 iou-threshold = 0.50 promotion-mode = 0 report-file = /tmp/eval.json default-gt-file = /data/gt/common.json

[model-yolo_v8] gt-file = /data/gt/yolo.json min-ap-margin = 0.02 kpi-ap50 = 0.75 kpi-precision = 0.0 kpi-recall = 0.0

[model-resnet50] gt-file = /data/gt/resnet.json min-ap-margin = 0.03 kpi-ap50 = 0.80

Per-model sections ([model-<name>]) define per-model overrides. Fields absent from a model section fall back to global values. Fields absent from the [eval] section fall back to GObject property values (set before prepare() is called).

nvds_eval_config.h

Configuration structures and GKeyFile-based INI loader for nvinfereval.

Config file format (GKeyFile / INI):

[eval] eval-interval = 1000 iou-threshold = 0.50 promotion-mode = 0 report-file = /tmp/eval.json default-gt-file = /data/gt/common.json

[model-yolo_v8] gt-file = /data/gt/yolo.json min-ap-margin = 0.02 kpi-ap50 = 0.75 kpi-precision = 0.0 kpi-recall = 0.0

[model-resnet50] gt-file = /data/gt/resnet.json min-ap-margin = 0.03 kpi-ap50 = 0.80

Per-model sections ([model-<name>]) define per-model overrides. Fields absent from a model section fall back to global values. Fields absent from the [eval] section fall back to GObject property values (set before prepare() is called).

Definition at line 61 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.

Data Fields

guint eval_interval = 1000
 
gfloat iou_threshold = 0.5f
 
gboolean show_gt_overlay = FALSE
 
gboolean show_ap_table = FALSE
 
gboolean cumulative = TRUE
 
gboolean exclude_undetected = TRUE
 
std::set< std::string > exclude_classes
 
std::string report_file
 
std::string default_gt_file
 
std::string rest_url
 
guint promotion_mode = 0
 

Field Documentation

◆ cumulative

gboolean GlobalConfig::cumulative = TRUE

◆ default_gt_file

std::string GlobalConfig::default_gt_file

◆ eval_interval

guint GlobalConfig::eval_interval = 1000

◆ exclude_classes

std::set< std::string > GlobalConfig::exclude_classes

◆ exclude_undetected

gboolean GlobalConfig::exclude_undetected = TRUE

◆ iou_threshold

gfloat GlobalConfig::iou_threshold = 0.5f

◆ promotion_mode

guint GlobalConfig::promotion_mode = 0

◆ report_file

std::string GlobalConfig::report_file

◆ rest_url

std::string GlobalConfig::rest_url

◆ show_ap_table

gboolean GlobalConfig::show_ap_table = FALSE

◆ show_gt_overlay

gboolean GlobalConfig::show_gt_overlay = FALSE

The documentation for this struct was generated from the following file: