Skip to content

pixano_inference.pydantic.models

Pydantic models for model configuration.

ModelConfig

Bases: BaseModel

Model configuration for instantiation.

Attributes:

Name Type Description
name str

Name of the model.

task str

Task of the model.

path Path | str | None

Path to the model dump.

config dict[str, Any]

Configuration of the model.

processor_config dict[str, Any]

Configuration of the processor.

ModelInfo

Bases: BaseModel

Model Information.

Attributes:

Name Type Description
name str

Name of the model.

task str

Task of the model.