SqueezeBrains SDK 1.18
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. More...
 
int num_img_test
 Number of test images of the project. More...
 
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 14638 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 14673 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 14701 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 14696 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 14722 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 14711 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 14706 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 14716 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 14691 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 14686 of file sb.h.

◆ num_img_svl

int sb_t_svl_res::num_img_svl

Number of svl images of the project.

With Deep Surface, Deep Cortex and Deep Retina projects the counter considers all the images of the training set including the validation ones and those without analysis ROI.

Definition at line 14729 of file sb.h.

◆ num_img_test

int sb_t_svl_res::num_img_test

Number of test images of the project.

With Deep Surface, Deep Cortex and Deep Retina projects the counter only considers images of the test set excluding the validation images and images without analysis ROI.

Definition at line 14736 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 14668 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 14751 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 14746 of file sb.h.


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