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).
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 |
| gboolean GlobalConfig::cumulative = TRUE |
Definition at line 67 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| std::string GlobalConfig::default_gt_file |
Definition at line 72 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| guint GlobalConfig::eval_interval = 1000 |
Definition at line 63 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| std::set< std::string > GlobalConfig::exclude_classes |
Definition at line 69 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| gboolean GlobalConfig::exclude_undetected = TRUE |
Definition at line 68 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| gfloat GlobalConfig::iou_threshold = 0.5f |
Definition at line 64 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| guint GlobalConfig::promotion_mode = 0 |
Definition at line 81 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| std::string GlobalConfig::report_file |
Definition at line 70 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| std::string GlobalConfig::rest_url |
Definition at line 76 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| gboolean GlobalConfig::show_ap_table = FALSE |
Definition at line 66 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.
| gboolean GlobalConfig::show_gt_overlay = FALSE |
Definition at line 65 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_config.h.