SqueezeBrains SDK 1.18
|
Deep Learning network parameters. More...
#include <sb.h>
Data Fields | |
sb_t_network_type | type |
Network type. More... | |
sb_t_size | input_size |
Network input size. More... | |
sb_t_image_format | image_format |
Network input image format. More... | |
int | n_channels |
Network input channels. More... | |
float | features_multiplier |
Features multiplier factor of the network. More... | |
sb_t_network_freeze_mode | freeze_mode |
Freeze mode to apply on network parameters. More... | |
Deep Learning network parameters.
Used only by Deep Cortex and Deep Surface projects.
float sb_t_svl_dl_par_network::features_multiplier |
Features multiplier factor of the network.
Percentage of the available features effectively used by the network. The value is applied to all the layers except the first and the last one. Values lower than SB_SVL_DL_FEATURES_MULTIPLIER_DEFAULT decrease training and detection time, but may reduce the discrimination capability of the network.
sb_t_network_freeze_mode sb_t_svl_dl_par_network::freeze_mode |
Freeze mode to apply on network parameters.
It determines the part of the current SVL parameters configuration to be frozen before running next SVL. It may be used only in case of incremental SVL or when SVL starts from an existing pre-training configuration file (i.e. sb_t_svl_dl_par::pre_training_file points to a valid SB_PRE_TRAINING_EXT file).
It is set to SB_NETWORK_FREEZE_MODE_NONE .
sb_t_image_format sb_t_svl_dl_par_network::image_format |
Network input image format.
Image format of the image that network expecting to elaborate. If the value is different from image format of the source image to be elaborated, the latter will be converted to be equal to the network one.
It is set to SB_IMAGE_FORMAT_RGB888 .
sb_t_size sb_t_svl_dl_par_network::input_size |
Network input size.
It determines, at which resolution, images must be resized before to be elaborated by the network.
SB_NETWORK_TYPE_SDINET0 is the only network with variabile input size, while the other networks have fixed input sizes.
int sb_t_svl_dl_par_network::n_channels |
Network input channels.
Number of input channels of the network. The value is directly related to sb_t_svl_dl_par_network::image_format.
It is set = 3.
sb_t_network_type sb_t_svl_dl_par_network::type |
Network type.
It specifies the Convolutional Neural Network (CNN) algorithm used by functions sb_svl_run and sb_project_detection.
Allowed values for Deep Cortex projects are:
Allowed values for Deep Surface projects are: