detrium.data.resolver

Unified dataset YAML resolver supporting Ultralytics YOLO `data.yaml` and COCO JSON specs.

class DataSpec

Normalized dataset specification consumed by `ConfigBridge`.

字段

名称类型默认值
formatstr—
train_img_folderPath—
val_img_folderPath—
namesDict[int, str]—
num_classesint—
remap_mscoco_categoryboolFalse
train_ann_fileOptional[Path]None
val_ann_fileOptional[Path]None
train_label_folderOptional[Path]None
val_label_folderOptional[Path]None
yaml_pathOptional[Path]None