fit#

geowombat.detect.fit(detector, dataset_yaml, **kwargs)[source]#

Fine-tune a detector on a YOLO-format dataset.

Return type:

Any

Parameters:
detectorYOLODetector

Detector to fine-tune (only YOLO supports .fit today).

dataset_yamlstr or Path

Path to data.yaml written by build_dataset.

**kwargs

Forwarded to detector.fit (epochs, imgsz, …).

Returns:
The underlying training results object.