Image Model Distribution Settings Object Detection Response
data class ImageModelDistributionSettingsObjectDetectionResponse(val amsGradient: String? = null, val augmentations: String? = null, val beta1: String? = null, val beta2: String? = null, val boxDetectionsPerImage: String? = null, val boxScoreThreshold: String? = null, val distributed: String? = null, val earlyStopping: String? = null, val earlyStoppingDelay: String? = null, val earlyStoppingPatience: String? = null, val enableOnnxNormalization: String? = null, val evaluationFrequency: String? = null, val gradientAccumulationStep: String? = null, val imageSize: String? = null, val layersToFreeze: String? = null, val learningRate: String? = null, val learningRateScheduler: String? = null, val maxSize: String? = null, val minSize: String? = null, val modelName: String? = null, val modelSize: String? = null, val momentum: String? = null, val multiScale: String? = null, val nesterov: String? = null, val nmsIouThreshold: String? = null, val numberOfEpochs: String? = null, val numberOfWorkers: String? = null, val optimizer: String? = null, val randomSeed: String? = null, val stepLRGamma: String? = null, val stepLRStepSize: String? = null, val tileGridSize: String? = null, val tileOverlapRatio: String? = null, val tilePredictionsNmsThreshold: String? = null, val trainingBatchSize: String? = null, val validationBatchSize: String? = null, val validationIouThreshold: String? = null, val validationMetricType: String? = null, val warmupCosineLRCycles: String? = null, val warmupCosineLRWarmupEpochs: String? = null, val weightDecay: String? = null)
Distribution expressions to sweep over values of model settings.
ModelName = "choice('seresnext', 'resnest50')";
LearningRate = "uniform(0.001, 0.01)";
LayersToFreeze = "choice(0, 2)";
```</example>
For more details on how to compose distribution expressions please check the documentation:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters
For more information on the available settings please visit the official documentation:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.
@property amsGradient Enable AMSGrad when optimizer is 'adam' or 'adamw'.
@property augmentations Settings for using Augmentations.
@property beta1 Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].
@property beta2 Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].
@property boxDetectionsPerImage Maximum number of detections per image, for all classes. Must be a positive integer.
Note: This settings is not supported for the 'yolov5' algorithm.
@property boxScoreThreshold During inference, only return proposals with a classification score greater than
BoxScoreThreshold. Must be a float in the range[0, 1].
@property distributed Whether to use distributer training.
@property earlyStopping Enable early stopping logic during training.
@property earlyStoppingDelay Minimum number of epochs or validation evaluations to wait before primary metric improvement
is tracked for early stopping. Must be a positive integer.
@property earlyStoppingPatience Minimum number of epochs or validation evaluations with no primary metric improvement before
the run is stopped. Must be a positive integer.
@property enableOnnxNormalization Enable normalization when exporting ONNX model.
@property evaluationFrequency Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.
@property gradientAccumulationStep Gradient accumulation means running a configured number of "GradAccumulationStep" steps without
updating the model weights while accumulating the gradients of those steps, and then using
the accumulated gradients to compute the weight updates. Must be a positive integer.
@property imageSize Image size for train and validation. Must be a positive integer.
Note: The training run may get into CUDA OOM if the size is too big.
Note: This settings is only supported for the 'yolov5' algorithm.
@property layersToFreeze Number of layers to freeze for the model. Must be a positive integer.
For instance, passing 2 as value for 'seresnext' means
freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please
see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.
@property learningRate Initial learning rate. Must be a float in the range [0, 1].
@property learningRateScheduler Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'.
@property maxSize Maximum size of the image to be rescaled before feeding it to the backbone.
Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big.
Note: This settings is not supported for the 'yolov5' algorithm.
@property minSize Minimum size of the image to be rescaled before feeding it to the backbone.
Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big.
Note: This settings is not supported for the 'yolov5' algorithm.
@property modelName Name of the model to use for training.
For more information on the available models please visit the official documentation:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.
@property modelSize Model size. Must be 'small', 'medium', 'large', or 'xlarge'.
Note: training run may get into CUDA OOM if the model size is too big.
Note: This settings is only supported for the 'yolov5' algorithm.
@property momentum Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1].
@property multiScale Enable multi-scale image by varying image size by +/- 50%.
Note: training run may get into CUDA OOM if no sufficient GPU memory.
Note: This settings is only supported for the 'yolov5' algorithm.
@property nesterov Enable nesterov when optimizer is 'sgd'.
@property nmsIouThreshold IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1].
@property numberOfEpochs Number of training epochs. Must be a positive integer.
@property numberOfWorkers Number of data loader workers. Must be a non-negative integer.
@property optimizer Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'.
@property randomSeed Random seed to be used when using deterministic training.
@property stepLRGamma Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1].
@property stepLRStepSize Value of step size when learning rate scheduler is 'step'. Must be a positive integer.
@property tileGridSize The grid size to use for tiling each image. Note: TileGridSize must not be
None to enable small object detection logic. A string containing two integers in mxn format.
Note: This settings is not supported for the 'yolov5' algorithm.
@property tileOverlapRatio Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1).
Note: This settings is not supported for the 'yolov5' algorithm.
@property tilePredictionsNmsThreshold The IOU threshold to use to perform NMS while merging predictions from tiles and image.
Used in validation/ inference. Must be float in the range [0, 1].
Note: This settings is not supported for the 'yolov5' algorithm.
NMS: Non-maximum suppression
@property trainingBatchSize Training batch size. Must be a positive integer.
@property validationBatchSize Validation batch size. Must be a positive integer.
@property validationIouThreshold IOU threshold to use when computing validation metric. Must be float in the range [0, 1].
@property validationMetricType Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'.
@property warmupCosineLRCycles Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1].
@property warmupCosineLRWarmupEpochs Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer.
@property weightDecay Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].
Content copied to clipboard
Constructors
Link copied to clipboard
fun ImageModelDistributionSettingsObjectDetectionResponse(amsGradient: String? = null, augmentations: String? = null, beta1: String? = null, beta2: String? = null, boxDetectionsPerImage: String? = null, boxScoreThreshold: String? = null, distributed: String? = null, earlyStopping: String? = null, earlyStoppingDelay: String? = null, earlyStoppingPatience: String? = null, enableOnnxNormalization: String? = null, evaluationFrequency: String? = null, gradientAccumulationStep: String? = null, imageSize: String? = null, layersToFreeze: String? = null, learningRate: String? = null, learningRateScheduler: String? = null, maxSize: String? = null, minSize: String? = null, modelName: String? = null, modelSize: String? = null, momentum: String? = null, multiScale: String? = null, nesterov: String? = null, nmsIouThreshold: String? = null, numberOfEpochs: String? = null, numberOfWorkers: String? = null, optimizer: String? = null, randomSeed: String? = null, stepLRGamma: String? = null, stepLRStepSize: String? = null, tileGridSize: String? = null, tileOverlapRatio: String? = null, tilePredictionsNmsThreshold: String? = null, trainingBatchSize: String? = null, validationBatchSize: String? = null, validationIouThreshold: String? = null, validationMetricType: String? = null, warmupCosineLRCycles: String? = null, warmupCosineLRWarmupEpochs: String? = null, weightDecay: String? = null)