class documentation
class Config(LuxonisConfig):
Root configuration for a single- or multi-stage model.
A mapping without stages is wrapped as a single stage automatically. Shared keys placed beside stages are copied into each stage unless the stage supplies its own value.
| Method | get |
Return a stage config, inferring it for single-stage models. |
| Instance Variable | name |
Pipeline name. Derived from stage names when omitted. |
| Instance Variable | rich |
Whether conversion tools should use rich terminal logs. |
| Instance Variable | stages |
Stage configurations keyed by stage name. |
| Class Method | _validate |
Undocumented |
| Class Method | _validate |
Undocumented |
| Method | _validate |
Changes the default 'default_stage' name to the name of the input model. |
@model_validator( mode='before')
@classmethod
def _validate_name(cls, data: @classmethod
dict[ str, Any]) -> dict[ str, Any]:
¶
Undocumented
@model_validator( mode='before')
@classmethod
def _validate_stages(cls, data: @classmethod
dict[ str, Any]) -> dict[ str, Any]:
¶
Undocumented