batch_compose
最后更新
luxonis_ml.data.augmentations.batch_compose类
BatchCompose
方法
init
Python
1def __init__(transforms: TransformsSeqType, *, bbox_associations: dict[str, dict[str, str]] | None = None, **kwargs):transforms(TransformsSeqType): 要组合的变换。bbox_associations(dict[str, dict[str, str]] | None): 边界框字段映射到其关联的目标字段和目标类型。此处列出的字段必须带有由 luxonis_ml.data.augmentations.utils.preprocess_bboxes 附加的索引列;任何其他边界框字段保持不变。**kwargs: 传递给 A.Compose 的附加参数。