onnx_diagnostic.tasks.object_detection¶
- onnx_diagnostic.tasks.object_detection.get_inputs(model: Module, config: Any | None, input_width: int, input_height: int, input_channels: int, batch_size: int = 2, dynamic_rope: bool = False, add_second_input: int = 1, **kwargs)[source][source]¶
- Generates inputs for task - object-detection.- Parameters:
- model – model to get the missing information 
- config – configuration used to generate the model 
- batch_size – batch size 
- input_channels – input channel 
- input_width – input width 
- input_height – input height 
 
- Returns:
- dictionary