IImageModelSettingsObjectDetection Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ImageModelSettingsObjectDetectionTypeConverter))]
public interface IImageModelSettingsObjectDetection : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IImageModelSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ImageModelSettingsObjectDetectionTypeConverter))>]
type IImageModelSettingsObjectDetection = interface
interface IJsonSerializable
interface IImageModelSettings
Public Interface IImageModelSettingsObjectDetection
Implements IImageModelSettings
- Derived
- Attributes
- Implements
Properties
AdvancedSetting |
Settings for advanced scenarios. (Inherited from IImageModelSettings) |
AmsGradient |
Enable AMSGrad when optimizer is 'adam' or 'adamw'. (Inherited from IImageModelSettings) |
Augmentation |
Settings for using Augmentations. (Inherited from IImageModelSettings) |
Beta1 |
Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
Beta2 |
Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
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. |
BoxScoreThreshold |
During inference, only return proposals with a classification score greater than BoxScoreThreshold. Must be a float in the range[0, 1]. |
CheckpointFrequency |
Frequency to store model checkpoints. Must be a positive integer. (Inherited from IImageModelSettings) |
CheckpointModelDescription |
Description for the input. (Inherited from IImageModelSettings) |
CheckpointModelJobInputType |
[Required] Specifies the type of job. (Inherited from IImageModelSettings) |
CheckpointModelMode |
Input Asset Delivery Mode. (Inherited from IImageModelSettings) |
CheckpointModelUri |
[Required] Input Asset URI. (Inherited from IImageModelSettings) |
CheckpointRunId |
The id of a previous run that has a pretrained checkpoint for incremental training. (Inherited from IImageModelSettings) |
Distributed |
Whether to use distributed training. (Inherited from IImageModelSettings) |
EarlyStopping |
Enable early stopping logic during training. (Inherited from IImageModelSettings) |
EarlyStoppingDelay |
Minimum number of epochs or validation evaluations to wait before primary metric improvement is tracked for early stopping. Must be a positive integer. (Inherited from IImageModelSettings) |
EarlyStoppingPatience |
Minimum number of epochs or validation evaluations with no primary metric improvement before the run is stopped. Must be a positive integer. (Inherited from IImageModelSettings) |
EnableOnnxNormalization |
Enable normalization when exporting ONNX model. (Inherited from IImageModelSettings) |
EvaluationFrequency |
Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. (Inherited from IImageModelSettings) |
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. (Inherited from IImageModelSettings) |
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. |
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. (Inherited from IImageModelSettings) |
LearningRate |
Initial learning rate. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
LearningRateScheduler |
Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. (Inherited from IImageModelSettings) |
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. |
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. |
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. (Inherited from IImageModelSettings) |
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. |
Momentum |
Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
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. |
Nesterov |
Enable nesterov when optimizer is 'sgd'. (Inherited from IImageModelSettings) |
NmsIouThreshold |
IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. |
NumberOfEpoch |
Number of training epochs. Must be a positive integer. (Inherited from IImageModelSettings) |
NumberOfWorker |
Number of data loader workers. Must be a non-negative integer. (Inherited from IImageModelSettings) |
Optimizer |
Type of optimizer. (Inherited from IImageModelSettings) |
RandomSeed |
Random seed to be used when using deterministic training. (Inherited from IImageModelSettings) |
StepLrGamma |
Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
StepLrStepSize |
Value of step size when learning rate scheduler is 'step'. Must be a positive integer. (Inherited from IImageModelSettings) |
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. |
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. |
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. |
TrainingBatchSize |
Training batch size. Must be a positive integer. (Inherited from IImageModelSettings) |
ValidationBatchSize |
Validation batch size. Must be a positive integer. (Inherited from IImageModelSettings) |
ValidationIouThreshold |
IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. |
ValidationMetricType |
Metric computation method to use for validation metrics. |
WarmupCosineLrCycle |
Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. (Inherited from IImageModelSettings) |
WarmupCosineLrWarmupEpoch |
Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. (Inherited from IImageModelSettings) |
WeightDecay |
Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. (Inherited from IImageModelSettings) |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |