![]() |
SB SDK 1.11
|
SVL parameters. More...
#include <sb.h>
Data Fields | |
sb_fp_svl_pre_elaboration | fp_pre_elaboration |
Callback to execute an image pre elaboration. More... | |
sb_fp_svl_progress | fp_progress |
The SVL calls this callback to notify the user the results of SVL. More... | |
sb_fp_svl_command | fp_command |
Callback called by SVL to allow the user to decide how to continue when particular situations happen, see sb_t_svl_stop_reason . More... | |
void * | user_data |
Pointer to data which is passed to the callbacks. More... | |
char | project_path [512] |
Path of the project, where the SVL will find the images. | |
char | image_ext [64] |
Extensions of the images. More... | |
float | free_memory_percentage |
Percentage of system memory that the svl tries to leave free. More... | |
int | num_threads |
Maximum number of OpenMP threads that SVL can use. More... | |
int | reproducibility |
Enable the reproducibility of the training. More... | |
sb_t_devices_par | devices |
Devices used for SVL/training. More... | |
sb_t_svl_sl_par | sl |
Shallow Learning SVL parameters. More... | |
sb_t_svl_dl_par | dl |
Deep Learning SVL parameters. More... | |
SVL parameters.
sb_t_devices_par sb_t_svl_par::devices |
Devices used for SVL/training.
Used by the function sb_svl_run in case of Deep Cortex and Deep Surface projects. Currently only a single device is admitted.
sb_t_svl_dl_par sb_t_svl_par::dl |
Deep Learning SVL parameters.
Training parameters used only by Deep Cortex and Deep Surface projects.
sb_fp_svl_command sb_t_svl_par::fp_command |
Callback called by SVL to allow the user to decide how to continue when particular situations happen, see sb_t_svl_stop_reason .
sb_fp_svl_pre_elaboration sb_t_svl_par::fp_pre_elaboration |
Callback to execute an image pre elaboration.
sb_fp_svl_progress sb_t_svl_par::fp_progress |
The SVL calls this callback to notify the user the results of SVL.
float sb_t_svl_par::free_memory_percentage |
char sb_t_svl_par::image_ext[64] |
Extensions of the images.
List of the extensions of the images that the function sb_svl_run searchs in the project_path.
See SB_IMAGE_FILE_EXTENSIONS for a complete list of the possible extensions.
int sb_t_svl_par::num_threads |
Maximum number of OpenMP threads that SVL can use.
The value 0 means: half of the available threads for physical machines and all available threads for virtual machines.
The default value is 0.
int sb_t_svl_par::reproducibility |
Enable the reproducibility of the training.
If enabled, training results are repeatable for all the SVL runs, provided that sb_t_svl_par and the dataset are the same.
Otherwise, some random initializations are applied during SVL, leading each time to different training results.
The possible values are:
sb_t_svl_sl_par sb_t_svl_par::sl |
Shallow Learning SVL parameters.
Training parameters used only by Deep Cortex and Surface projects.
void* sb_t_svl_par::user_data |
Pointer to data which is passed to the callbacks.