deeplabcut.pose_estimation_pytorch.config.model
Model configuration class for DeepLabCut pose estimation models.
Classes:
| Name | Description |
|---|---|
DetectorModelConfig |
Configuration for detector models |
ModelConfig |
Complete model configuration. |
DetectorModelConfig
Bases: DLCBaseConfig
Configuration for detector models
Attributes:
| Name | Type | Description |
|---|---|---|
type |
str
|
Type of detector model (e.g., FasterRCNN) |
freeze_bn_stats |
bool
|
Whether to freeze batch normalization statistics |
freeze_bn_weights |
bool
|
Whether to freeze batch normalization weights |
variant |
str | None
|
Specific variant of the detector model |
Source code in deeplabcut/pose_estimation_pytorch/config/model.py
ModelConfig
Bases: DLCBaseConfig
Complete model configuration.
Attributes:
| Name | Type | Description |
|---|---|---|
backbone |
dict
|
Backbone configuration |
backbone_output_channels |
int | None
|
Number of output channels from backbone |
heads |
dict[str, dict]
|
Dictionary of head configurations by name |
neck |
dict | None
|
Neck configuration |
pose_model |
dict | None
|
Pose model configuration |