Skip to main content

Model Configuration Reference

This page is a detailed reference for the Models Configuration dialog.

If you want a shorter walkthrough, see Model Configuration.

How to use this reference

  • Use the section that matches the tab you are editing
  • Fields only appear when they are relevant for the current model type

Configuration tab

General

SettingWhat it meansWhen to change it
NameThe model name shown throughout the project.Use a clear name that matches the job of the model.
PrimaryMakes this the main model used as the project entry point.Turn this on for the main model users should start from.
Input widthWidth of the images fed into the model.Change only if you know you need a different input size.
Input heightHeight of the images fed into the model.Change only if you know you need a different input size.
DescriptionShort explanation of what the model is meant to do.Use this to keep several models easy to understand.

Base

SettingWhat it meansNotes
PurposeChooses whether the model is for locating, classifying, or identifying.This choice affects which other tabs and options appear.
AccuracySimple speed-versus-quality control.Higher settings usually favor a slower, more accurate setup.
Bounding boxesLets the model return object locations.Not available for Identify models.
Key pointsLets the model return landmarks.Not available for Identify models.
Multiple categoriesLets the model work with more than one class.Only available for Classify models.
Based onStarting point for training.COCO 2017 can preload categories and key points.

Purpose options

PurposeBest used for
LocateFinding where objects are in an image
ClassifyAssigning classes, optionally with boxes or key points
IdentifyMatching previously found objects to identities

Inference tab

Use this tab to control how the model behaves when it is run on images.

Accuracy Thresholds

SettingWhat it meansPractical guidance
Base Accuracy (%)The model's default accuracy point.This is the center point used before the global find-accuracy slider shifts the threshold.
Lower Limit (%)Lowest accuracy the model can use when the global find-accuracy slider moves downward.Keep this lower than the base value.
Upper Limit (%)Highest accuracy the model can use when the global find-accuracy slider moves upward.Keep this higher than the base value.

These three values work together with the global find-accuracy slider in the Engine tab of the menu. From a user perspective, the model config sets the allowed range, and the global slider moves within that range at runtime.

Limits

SettingWhat it meansNotes
Maximum DetectionsCaps how many detections are returned.Only useful when the model can return multiple categories or multiple detections.

Inference and Non-Max Suppression

These settings are relevant for models that use bounding boxes.

NMS stands for Non-Maximum Suppression. It removes duplicate overlapping detections by keeping the strongest result and suppressing weaker boxes that likely refer to the same object.

SettingWhat it meansPractical guidance
Use NMSTurns duplicate cleanup on or off. When enabled, overlapping detections are compared and weaker duplicates are removed.Turn this on when the model often returns several boxes for the same object.
Pre NMS Top KNumber of candidate detections kept before NMS runs.Raise it when crowded images need more candidates to survive until cleanup.
NMS IoU ThresholdControls how much overlap is allowed before one detection suppresses another. IoU means Intersection over Union, a measure of box overlap.Lower values remove overlaps more aggressively, higher values keep more overlapping boxes.
Class-Agnostic NMSLets detections suppress each other across different categories instead of only within the same category.Use it when different classes are close alternatives and should compete with each other.
NMS Overlap GroupsLets you define specific groups of categories that should suppress each other when class-agnostic NMS is off.Useful when only certain categories should compete, such as similar object types.

NMS Overlap Groups

SettingWhat it means
Group nameName used when assigning categories to a group
IoU ThresholdOverlap threshold used for that group

Categories tab

Use this tab to define the classes the model can detect.

Per-category fields

SettingWhat it meansNotes
ValueNumeric id for the category.Keep values stable once you have labeled data.
NameDisplay name of the category.Use short, consistent names.
Show ROIControls whether the category’s boxes or key points are shown.Only relevant when the model uses boxes or key points.
Per-category accuracyLets this category use its own accuracy range instead of the model-wide default.Useful when one class needs stricter or looser filtering with the global find-accuracy slider.
Base / Lower / UpperCategory-specific accuracy values.These appear after enabling per-category accuracy.
NMS IoU ThresholdPer-category overlap threshold.Available when NMS is in use.
NMS GroupsAssigns the category to one or more overlap groups.Available when overlap groups exist.
WeightPer-category training weight for CenterNet heatmap loss.Available when per-class weighting is enabled in training.
Observation countShows how many labeled observations exist for the category.Useful when checking class balance.

Compute button for class weights

When per-class weighting is enabled in the Training tab, the Categories tab also shows:

SettingWhat it means
MethodChooses how the app computes class weights from the current category frequencies
ComputeFills the category weights automatically

Use this when some categories have much less training data than others.

Key points tab

This tab appears when key points are enabled.

Categories that detect key points

Only shown for Classify models.

SettingWhat it means
Category listChooses which categories produce key points

List of key points

SettingWhat it meansNotes
Key point labelsOrdered list of the landmarks the model predictsThe order matters and should stay stable once data is labeled.

Meshes

Meshes define visual or structural connections between key points.

SettingWhat it means
PathTreats the selected points as a connected path
TrianglesTreats the selected points as a triangle-based mesh
Key points in meshChooses which key points belong to the mesh

Attributes tab

Attributes let you compute extra information from the model output.

Shared vs per-category attributes

SectionWhat it means
SharedAttributes used across the whole model
Per-categoryAttributes used only for specific categories

Common fields

SettingWhat it means
Attribute typeChooses how the attribute value is produced
NameLabel for the attribute
Skip framesCadence control: sets how many frames to skip between calculations. 0 means every frame. 4 means calculated every 5th frame. Use this to reduce the cost of attributes that do not need to update every frame.
Requires categoriesMulti-select that restricts when this attribute runs. When one or more categories are selected, the attribute is only calculated when at least one of those categories is also detected in the same image or frame. Leave empty to run the attribute unconditionally. Only available when the model has Multiple categories enabled and at least one category defined. For category-specific attributes, the owning category is excluded from the list.

Attribute types

TypeWhat it doesExtra fields
ColorExtracts one or more dominant colorsNumber of colors, Max colors
Another modelUses another model to calculate the valuemodel selection, optional clip/alignment
IdentificationUses an identification model to assign identitymodel selection, optional clip/alignment
Border width calculatorMeasures the pixel width of a circular bright border by sampling 360 radial profiles. Outputs a sections array; each section contains minWidthPx, maxWidthPx, validRatio, startDegrees, endDegrees, minDegrees, maxDegrees, startWidthPx, and endWidthPx. Result is omitted when the border cannot be measured reliably.Min valid profile ratio, optional clip/alignment
AngleCalculates face or object angle from 4 key pointskey point selection
BearingCalculates direction from 5 key pointskey point selection
Adjacent angleCalculates the angle between two lines defined by key pointskey point selection

Clip and alignment options

These are available for model-based attributes, Border width calculator, and for training-time crops.

SettingWhat it meansRequirements
ClipCrops to the bounding box before running the next stepThe source model must provide boxes
Align with key pointsRotates or aligns the crop using selected key pointsThe source model must provide key points
Align pointsChooses the points used for alignmentOnly relevant when alignment is enabled
MarginAdds extra space around the cropOnly relevant when clipping is enabled

Training tab

The Training tab is split into several sections.

Training tab: Data preparation

SettingWhat it meansPractical guidance
Prepare dataRebuilds the train/validation splitUse this when you want a fresh split.
Percentage training dataPercentage used for training rather than validationKeep enough validation data to judge training quality.
Level categoriesTries to balance categories during data preparationUseful when some classes have much less data.

Training tab: Clip settings

SettingWhat it means
ClipCrop training samples to the object box
Align with key pointsRotate training samples using key points
Align pointsWhich key points to use for alignment
MarginExtra crop padding around the box

Training tab: Data augmentation

SettingWhat it means
RotateRandom rotation augmentation
RotationMaximum rotation amount
ScaleRandom resizing augmentation
Range for scaleMaximum scale change
Flip HorizontalHorizontal mirroring
Flip VerticalVertical mirroring
Translate XHorizontal movement augmentation
Translate YVertical movement augmentation
BrightnessBrightness variation
ContrastContrast variation
SaturationSaturation variation
HueHue variation
Nr of combinationsNumber of augmentations combined on a single image

Training tab: Core training settings

SettingWhat it meansPractical guidance
Batch sizeNumber of samples per training stepLarger values are faster if your hardware can handle them.
EpochsMinimum number of passes through the training dataStart moderate, then review results.
Max epochsHard upper limit for trainingMostly relevant when patience is greater than 0.
OptimizerTraining optimizerAdam is a common default.
MomentumExtra momentum used by SGDOnly relevant for SGD.
PatienceStops training after enough non-improving evaluationsLower values stop sooner.
Weight decayRegularization strength for AdamWOnly relevant for AdamW.
Clip normGradient clipping limitLeave empty unless you are dealing with unstable training.
Fine tuneTrains more of the model instead of only the final layerUsually best left on when boxes or key points are involved.
Validation metricMetric used for early stopping and best checkpoint selection. Single-label ResNet models always use accuracy. Multi-label models support accuracy, exactmatch, precision, recall, and f1.Classify models with Multiple categories only. Defaults to accuracy for single-label and f1 for multi-label.
Multi-label thresholdConfidence threshold applied to sigmoid scores when computing multi-label training and validation metrics. Does not affect the loss function, only the reported numbers.Classify models with Multiple categories only. Default 0.5.

Training tab: Learning rate

SettingWhat it meansNotes
Learning rate decayOverall schedule used during trainingCosine is the simplest default.
Initial learning rateStarting learning rateDisabled when differential learning rates are enabled.
Decay stepsHow long the cosine schedule runs before reaching its minimumMainly relevant for cosine schedules.
Differential learning ratesUses different learning rates for the head and backboneAdvanced tuning option.
Head learning rateLearning rate for the prediction headUsually higher than the backbone rate.
Backbone learning rateLearning rate for the backboneUsually lower than the head rate.
Warmup epochsGradually ramps the learning rate at the startUseful for smoother starts.
Restart modeHow the first cosine restart cycle is definedOnly appears for cosine restart schedules.
First decay stepsAbsolute first-cycle lengthCosine restart mode only.
Restart every epochsDefines restart timing in epochsCosine restart mode only.
Warmup each restartAdds warmup at each restartCosine restart mode only.
Cycle multiplierChanges cycle length over timeCosine restart mode only.
DecayChanges how much each restart peak dropsCosine restart mode only.
MinimumMinimum learning-rate fractionCosine restart mode only.

Training tab: Advanced training parameters

These are the advanced fields shown in the Training parameters card.

Backbone fine-tuning

SettingWhat it means
Freeze backbone epochsKeeps the backbone frozen for the first part of training
Unfreeze stages/intervalHow many backbone stages are opened each time
Unfreeze intervalNumber of epochs between unfreeze steps
Stop unfreezing at stageLimits how far unfreezing goes
Train backbone BatchNormAllows backbone batch norm layers to update
BN unfreeze epochDelays when backbone batch norm starts updating

Detection and key point loss settings

These fields appear only when the model uses boxes or key points.

SettingWhat it means
Object center loss wWeight for the object-center heatmap loss
Size loss weightWeight for bounding-box size regression
Box loss weightWeight for box offset regression
Keypoint loss weightWeight for the key point heatmap loss
Offset loss weightWeight for per-keypoint sub-cell offset regression
Center-to-joint loss wWeight for the center-to-joint regression term. Only active when Keypoint head mode is center_to_joint.
Direction pair vector loss wWeight for the direction-pair vector regression term. Only active when Keypoint head mode is direction_pairs.
Center accuracy thresholdThreshold used when checking center prediction quality during training metrics
Focal alphaFocal-loss alpha parameter
Focal betaFocal-loss beta parameter
Heatmap biasInitial bias for heatmap output
Gaussian radiusFixed radius used for box heatmap targets when size-based Gaussians is off
Keypoint Gaussian radiusFixed radius used for key point heatmap targets
Gaussian min overlapMinimum IoU overlap used by the size-based Gaussian radius heuristic. Only active when Size-based Gaussians is on.
CenterNet debug imagesSaves debug images during training
Size-based GaussiansAdapts Gaussian size to object size using a CenterNet IoU heuristic instead of a fixed radius
Box upsample filtersAdvanced CenterNet FPN decoder channel configuration
Box head modeSelects the box prediction contract: center is the standard mode, center_radius_xy predicts half-extents, extreme_points predicts top/bottom/left/right point heatmaps, center_rotated predicts an angle so tilted objects get tight, rotated boxes.
Keypoint head modeSelects how key points are predicted: offset is the direct per-keypoint path, center_to_joint conditions each joint on the decoded object center, direction_pairs predicts pair-center vectors. Only meaningful when key points are enabled.
Keypoint decode radiusLocal search radius used when refining center_to_joint predictions from the heatmap. Only active when Keypoint head mode is center_to_joint.

Keypoint augmentation

These settings appear when the model uses key points.

SettingWhat it means
Horizontal flip pairsPairs of key point indices swapped during horizontal flip augmentation. Configure this whenever left/right semantics matter, such as body joints or facial landmarks with side-specific labels.
Vertical flip pairsPairs of key point indices swapped during vertical flip augmentation. Configure this whenever top/bottom semantics matter, such as ordered endpoints or vertically paired landmarks.

Synthetic boxes

These settings appear when the model uses key points and no box labels are supplied. Synthetic boxes are generated from the visible keypoint bounds so the box head receives supervision even when no explicit boxes exist in the training data.

SettingWhat it means
Synthetic boxesEnables generating box targets from visible keypoint bounds when a sample has keypoints but no box label.
Box padding ratioRelative padding added around the keypoint envelope. 0.05 is the default.
Box padding pixelsMinimum absolute padding in pixels added around the envelope.
Box min size pixelsMinimum generated box height and width before padding is applied.

Regularization

SettingWhat it means
DropoutAmount of dropout used during training
Label smoothingSoftens target labels to reduce overconfidence

Label smoothing is only available for basic ResNet classification without multiple categories, boxes, or key points.

Training tab: CenterNet per-class weighting

This section appears for models that use boxes or key points.

SettingWhat it means
Enable per-class weightsTurns on class-based weighting for the heatmap loss
Normalize to mean 1.0Keeps the average weight centered around 1
Clip weightsLimits extreme weights
Warmup epochsGradually applies class weights over the first epochs
Clip minLowest allowed class weight when clipping is enabled
Clip maxHighest allowed class weight when clipping is enabled

Training tab: Genetic optimization

SettingWhat it means
Use genetic optimizationEnables automatic search over selected training values
Max search time (s)Maximum time spent searching
Consecutive worse limitStops the search after enough non-improving attempts
FieldTraining field to optimize
MinLowest value to try
MaxHighest value to try
StepIncrement used while searching

Parameter dependencies

Some settings only take effect when another setting has a specific value. The most important dependencies are listed below.

Inference

SettingRequires
Base Accuracy, Lower Limit, Upper Limit, Accuracy Delta, per-category accuracy rangesThreshold must not be set. When Threshold is present all accuracy-range fields are inactive.

Training

SettingRequires
Multi-label threshold, Validation metric (exactmatch / precision / recall / f1)Multiple categories = on
Label smoothingMultiple categories = off — rejected when multiple categories is enabled
Head learning rate, Backbone learning rateDifferential learning rates = on
Weight decayOptimizer = AdamW — silently unused for Adam and SGD
MomentumOptimizer = SGD — silently unused for Adam and AdamW
Warmup each restartLearning rate decay = cosine_restarts and Warmup epochs > 0
First decay steps, Restart every epochs, Warmup each restart, Cycle multiplier, Decay, MinimumLearning rate decay = cosine_restarts
Freeze backbone epochs, Unfreeze stages/interval, Unfreeze interval, Stop unfreezing at stageFine tune = on
BN unfreeze epochTrain backbone BatchNorm = off — when BatchNorm is always trainable an unfreeze epoch has no effect
Keypoint head mode, Keypoint Gaussian radius, Keypoint decode radius, Center-to-joint loss w, Direction pair vector loss w, Offset loss weight, keypoint flip pairs, synthetic boxesKey points must be enabled (nrKeyPoints > 0)
Center-to-joint loss w, Keypoint decode radiusKeypoint head mode = center_to_joint
Direction pair vector loss wKeypoint head mode = direction_pairs
Gaussian min overlapSize-based Gaussians = on
Box padding ratio, Box padding pixels, Box min size pixelsSynthetic boxes = on
Class weights, Normalize to mean 1.0, Clip weights, Warmup epochs (class weights), Clip min, Clip maxEnable per-class weights = on
Clip min, Clip maxClip weights = on and Enable per-class weights = on

Attributes

SettingRequires
Requires categoriesMultiple categories = on and at least one category defined

Mutually exclusive pairs

SettingsNote
Threshold vs accuracy range fieldsPresence of Threshold makes all accuracy-range fields inactive in both CenterNet and ResNet Classify
Label smoothing vs Multiple categoriesLabel smoothing is rejected when Multiple categories is enabled
First decay steps vs Restart every epochsBoth control the first cosine-restart cycle length; First decay steps wins when both are set