Hi ,
I’m trying to evaluate a YOLO-OBB (oriented bounding box) model:
-
Model:
hrsid-obb--640x640_quant_hailort_hailo8_3 -
Label format:
class cx cy w h angle -
Converted annotations to COCO format
I can run batch_predict successfully, but when I try:
import degirum as dg
from degirum_tools.detection_eval import ObjectDetectionModelEvaluator
model = dg.load_model(
model_name="hrsid-obb--640x640_quant_hailort_hailo8_3",
inference_host_address="@cloud",
zoo_url="sivagnanam_maheshwaran/Hailo8_Deployyment",
token="<token>"
)
evaluator = ObjectDetectionModelEvaluator(model)
results = evaluator.evaluate(
"extracted_content/hundred_labelled_images/corresponding_images",
"ground_truth_coco.json",
max_images=100
)
I get:
Exception: Model loaded for evaluation is not a Detection Model
The model config shows "OutputPostprocessType": "DetectionYoloV8OBB", which is not recognized by ObjectDetectionModelEvaluator (expects YOLOv5/YOLOv8 axis-aligned or segmentation models).
Questions:
-
Is there a way to evaluate YOLO-OBB models natively with
degirum_tools? -
If not, what is the recommended workflow for computing metrics like mAP / precision / recall
Thanks!