load_model
Signature:
Detection.load_model(model: str) -> None
Description:
Switch the current detection model.
Parameters:
Parameter | Type | Default | Description |
|---|---|---|---|
|
| Required | Model ID or local model path. |
Returns:
None
Raises:
ValueError: Model or inference configuration not supported.
ImportError: Selected inference engine dependencies missing.
RuntimeError: Inference engine model loading failed.
Example:
from boosteros.brain import Detection
detector = Detection(model="default")
detector.load_model("person")