ObjectModelOutput
- class savant.base.model.ObjectModelOutput(layer_names=<factory>, converter=None, objects='???')
ObjectModel output configuration template.
Validates entries in a module config file under
model.output
.Example:
model: # model configuration output: layer_names: [output] objects: # output objects configuration
- objects: List[ObjectModelOutputObject] = '???'
Configuration for each output object class of an object model.
- converter: PyFunc | None = None
Model output converter. Converter is used to transform raw tensor output into Savant data format.
Converter implementation should be written as a subclass of
BaseObjectModelOutputConverter
orBaseAttributeModelOutputConverter
orBaseComplexModelOutputConverter
depending on the model type.