Model properties
Tune model properties to balance accuracy, latency, and visualization by adjusting preprocessing, hardware selection, and postprocessing settings.
Why model properties matter
Inspect current settings
from degirum_tools import ModelSpec, remote_assets
model_spec = ModelSpec(
model_name="yolov8n_coco--640x640_quant_hailort_multidevice_1",
zoo_url="degirum/hailo",
inference_host_address="@local",
model_properties={"device_type": ["HAILORT/HAILO8L", "HAILORT/HAILO8"]},
)
model = model_spec.load_model()
print("device:", model.device_type)
print("input shape:", model.input_shape)
print("confidence:", model.output_confidence_threshold)
print("overlay labels:", model.overlay_show_labels)Change properties safely
1
2
3
4
Deep dives
Last updated
Was this helpful?

