class documentation

class Config(LuxonisConfig):

View In Hierarchy

Undocumented

Method get_stage_config Return a stage config, inferring it for single-stage models.
Class Variable rich_logging Undocumented
Instance Variable name Undocumented
Instance Variable stages Undocumented
Class Method _validate_name Undocumented
Class Method _validate_stages Undocumented
Method _validate_single_stage_name Changes the default 'default_stage' name to the name of the input model.
def get_stage_config(self, stage: str | None) -> SingleStageConfig:

Return a stage config, inferring it for single-stage models.

rich_logging: bool =

Undocumented

name: str =

Undocumented

stages: Annotated[dict[str, SingleStageConfig], Field(min_length=1)] =

Undocumented

@model_validator(mode='before')
@classmethod
def _validate_name(cls, data: dict[str, Any]) -> dict[str, Any]:

Undocumented

@model_validator(mode='before')
@classmethod
def _validate_stages(cls, data: dict[str, Any]) -> dict[str, Any]:

Undocumented

@model_validator(mode='after')
def _validate_single_stage_name(self) -> Self:

Changes the default 'default_stage' name to the name of the input model.