NvInferObjectModelOutput
- class savant.deepstream.nvinfer.model.NvInferObjectModelOutput(layer_names=<factory>, converter=None, objects=None, num_detected_classes=None)
NvInferObjectModel output configuration template for detector with aligned bboxes.
Example
model: # model configuration output: num_detected_classes: 4 layer_names: [output] objects: # output objects configuration
- converter: Optional[PyFunc] = 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.
- objects: Optional[List[NvInferObjectModelOutputObject]] = None
Configuration for each output object class of an object model.