NVIDIA DeepStream SDK API Reference

9.2 Release
sources/gst-plugins/gst-nvinfereval/nvds_eval_report.h File Reference

Go to the source code of this file.

Data Structures

struct  ClassMetrics
 
struct  ModelMetrics
 

Functions

std::vector< ModelMetrics > compute_metrics (EvalAccumulator &accum, float iou_thresh, const std::set< std::string > &exclude_classes={}, bool exclude_undetected=false)
 
std::string build_json_report (const std::string &model_pair_name, const std::vector< ModelMetrics > &metrics, uint32_t epoch_frames, bool promoted, const std::string &promoted_model)
 
void post_eval_result (GstElement *self, const std::string &model_pair_name, const std::vector< ModelMetrics > &metrics, uint32_t epoch_frames, bool promoted, const std::string &promoted_model, const std::string &report_file, bool cumulative=false, bool show_ap_table=false)
 

Function Documentation

◆ build_json_report()

std::string build_json_report ( const std::string &  model_pair_name,
const std::vector< ModelMetrics > &  metrics,
uint32_t  epoch_frames,
bool  promoted,
const std::string &  promoted_model 
)

◆ compute_metrics()

std::vector<ModelMetrics> compute_metrics ( EvalAccumulator &  accum,
float  iou_thresh,
const std::set< std::string > &  exclude_classes = {},
bool  exclude_undetected = false 
)

◆ post_eval_result()

void post_eval_result ( GstElement *  self,
const std::string &  model_pair_name,
const std::vector< ModelMetrics > &  metrics,
uint32_t  epoch_frames,
bool  promoted,
const std::string &  promoted_model,
const std::string &  report_file,
bool  cumulative = false,
bool  show_ap_table = false 
)