SqueezeBrains SDK 1.13
sb_t_svl_res Struct Reference

Defines the results of SVL. More...

#include <sb.h>

Collaboration diagram for sb_t_svl_res:

Data Fields

sb_t_par par
 Project parameters.
 
sb_t_svl_stop_reason stop_reason
 It describes the reason why the SVL is finished.
 
sb_t_svl_command last_command
 Command executed by SVL after a stop that is detailed with the parameter stop_reason.
 
char running_step [256]
 Description of the current step of the training. More...
 
sb_t_svl_err err
 Error details. More...
 
sb_t_svl_res_models models
 Results for each model.
 
sb_t_svl_res_level global
 Cumulative results of all levels of all models.
 
sb_t_sampleslist_tp
 List of True Positive samples. More...
 
sb_t_sampleslist_tn
 List of True Negative samples. More...
 
sb_t_sampleslist_fp
 List of False Positive samples. More...
 
sb_t_sampleslist_fn
 List of False Negative samples. More...
 
sb_t_sampleslist_op
 List of Optional Positive samples. More...
 
sb_t_sampleslist_on
 List of Optional Negative samples. More...
 
sb_t_sampleslist_out_of_roi
 List of samples out of the ROI. More...
 
sb_t_svl_res_imageslist_img_elab
 Results for each images. More...
 
int num_img_svl
 Number of svl images of the project.
 
int num_img_test
 Number of test images of the project.
 
long long time_ms
 Execution time, in ms, of SVL.
 
long long time_ms_last_improvement
 Time, in ms, when there was the last improvement. More...
 
long long time_left_ms
 Estimated time, in ms, left to the end of the SVL. More...
 
int reset_done
 The SVL reset has been done or no training has been done yet.
 
sb_t_devices_par devices
 The devices used to compute the current SVL results.
 

Detailed Description

Defines the results of SVL.

In the case of Surface, the lists of samples (list_tp, list_tn, list_fp, list_fn) have been limited to 200 elements. The 100 elements for each list are sorted by weight with the precedence of the samples used for training compared to the other samples. Sorting of samples by weight:

  • list_tp: descending order
  • list_tn: increasing order
  • list_fp: increasing order
  • list_fn: descending order
    Warning
    When you get the structure from projects with version less than 1.7.0.2 only the following fields are correctly filled:
  • sb_t_par.models.size
  • sb_t_par.models.model[i].obj_size
  • sb_t_par.models.model[i].enabled
  • sb_t_par.models.model[i].obj_size
  • sb_t_par.models.model[i].name
  • sb_t_par.models.model[i].color, only for Surface project
  • sb_t_par.models.model[i].color_opt, only for Surface project

Definition at line 12877 of file sb.h.

Field Documentation

◆ err

sb_t_svl_err sb_t_svl_res::err

Error details.

Used only by Retina and Surface projects.

Definition at line 12912 of file sb.h.

◆ list_fn

sb_t_samples* sb_t_svl_res::list_fn

List of False Negative samples.

Used only by Retina and Surface projects.

Definition at line 12940 of file sb.h.

◆ list_fp

sb_t_samples* sb_t_svl_res::list_fp

List of False Positive samples.

Used only by Retina and Surface projects.

Definition at line 12935 of file sb.h.

◆ list_img_elab

sb_t_svl_res_images* sb_t_svl_res::list_img_elab

Results for each images.

The list exists only after sb_svl_run has been called and not after sb_project_load.
Used only by Retina and Surface projects.

Definition at line 12961 of file sb.h.

◆ list_on

sb_t_samples* sb_t_svl_res::list_on

List of Optional Negative samples.

Used only by Retina and Surface projects.

Definition at line 12950 of file sb.h.

◆ list_op

sb_t_samples* sb_t_svl_res::list_op

List of Optional Positive samples.

Used only by Retina and Surface projects.

Definition at line 12945 of file sb.h.

◆ list_out_of_roi

sb_t_samples* sb_t_svl_res::list_out_of_roi

List of samples out of the ROI.

Used only by Retina and Surface projects.

Definition at line 12955 of file sb.h.

◆ list_tn

sb_t_samples* sb_t_svl_res::list_tn

List of True Negative samples.

Used only by Retina and Surface projects.

Definition at line 12930 of file sb.h.

◆ list_tp

sb_t_samples* sb_t_svl_res::list_tp

List of True Positive samples.

Used only by Retina and Surface projects.

Definition at line 12925 of file sb.h.

◆ running_step

char sb_t_svl_res::running_step[256]

Description of the current step of the training.

The description of the training steps depends on the project type.
WithRetina projects the training steps are the following:

With Surface projects the training steps are the following:

With Deep Cortex and Deep Surface projects the training steps are the following:

See also
SVL - training

Definition at line 12907 of file sb.h.

◆ time_left_ms

long long sb_t_svl_res::time_left_ms

Estimated time, in ms, left to the end of the SVL.

Used only by Deep Cortex and Deep Surface projects.

Definition at line 12984 of file sb.h.

◆ time_ms_last_improvement

long long sb_t_svl_res::time_ms_last_improvement

Time, in ms, when there was the last improvement.

Used for Deep Cortex and Deep Surface projects only if sb_t_svl_dl_par::save_best is enabled.

Definition at line 12979 of file sb.h.


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