# Model properties

*Estimated read time: 3 minutes*

Model properties control every stage of the inference pipeline: which device runs the model, how inputs are prepared, how outputs are filtered, and how overlays look. This page introduces the categories and points you to detailed guides for each set of knobs.

## Why model properties matter

* Align preprocessing with the data you capture to avoid implicit resizes or color swaps.
* Route workloads to the right accelerator and device index for best throughput.
* Filter or emphasize the classes your application cares about.
* Keep overlays readable without touching model accuracy.

## Inspect current settings

After loading a model, read properties directly on the model object.

{% code overflow="wrap" %}

```python
from degirum_tools import ModelSpec

model_spec = ModelSpec(
    model_name="yolov8n_coco--640x640_quant_axelera_metis_1",
    zoo_url="degirum/axelera",
    inference_host_address="@local",
    model_properties={"device_type": ["AXELERA/METIS"]},
)
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)
```

{% endcode %}

Need to experiment? Copy the `ModelSpec` block, adjust one property at a time, and rerun your validation script using the [baseline checklist](https://docs.degirum.com/axelera/basics/measuring-performance).

## Change properties safely

{% stepper %}
{% step %}
Clone the existing `ModelSpec` and edit only the property you plan to evaluate.
{% endstep %}

{% step %}
Document the change (e.g., commit message or experiment log) before running tests.
{% endstep %}

{% step %}
Run a deterministic validation set and capture accuracy and timing deltas.
{% endstep %}

{% step %}
Roll back immediately if the change increases error rates or violates latency budgets.
{% endstep %}
{% endstepper %}

## Deep dives

* Device runtime and hardware selection → [Device selection](https://docs.degirum.com/axelera/intermediate-guides/model-properties/device-selection)
* Input resolution, colorspace, and transport → [Input preprocessing](https://docs.degirum.com/axelera/intermediate-guides/model-properties/input-preprocessing)
* Confidence thresholds, NMS, and class filtering → [Output postprocessing](https://docs.degirum.com/axelera/intermediate-guides/model-properties/output-postprocessing)
* Overlay color, labels, opacity, and blur → [Image overlay](https://docs.degirum.com/axelera/intermediate-guides/model-properties/image-overlay)

Each guide includes tested snippets and cautions tailored to that category.
