Which Frigate+ model to use with NPU #19273
Replies: 4 comments 15 replies
-
For Frigate+ models on Intel NPUs via OpenVINO, the recommended model type is yolonas(1). The documentation specifies for Intel hardware (including platforms supporting OpenVINO) that you should use the openvino detector type with yolonas model type for Frigate+(1). Your detector config should look like this: detectors:
ov:
type: openvino
device: NPU
model:
model_type: yolonas
width: 320 # or 640, must match the model export
height: 320 # or 640, must match the model export
input_tensor: nchw
input_pixel_format: bgr
path: /config/yolo_nas_s.onnx # or the downloaded Frigate+ yolonas model path
labelmap_path: /labelmap/coco-80.txt Make sure you are using the yolonas variant from Frigate+ and that the model is exported in a format compatible with OpenVINO. The mobiledet model type is not recommended or supported for OpenVINO/Intel NPUs(1). Reference: 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
There is no official NPU support, I have only seen a couple reports that YOLO-NAS was working with NPU and the performance was considerably worse than GPU. In general, using GPU is recommended as the NPU is generally not powerful enough to run a larger model like YOLO-NAS |
Beta Was this translation helpful? Give feedback.
-
I'm success used intel NPU (Intel Core Ultra 7 258v) on Frigate with YOLO-NAS. NPU don't run on flatten export that same problem run YOLO-NAS on Rockchip NPU. I modify openvino.py for support this model. |
Beta Was this translation helpful? Give feedback.
-
I am in the process of overhauling my server and wondering if a NPU on a Ultra 245k would be worth it for 8 cameras? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I've been trying to follow the (slightly outdated) instructions here to get my Intel Core Ultra i5 245K to work as an NPU detector.
After adjusting things a bit (e.g. 0.16 is based on debian12, so i could simply
apt-get install libtbb12
andopenvino==2024.4.0
by default), I don't know how exactly to use any Frigate+ model.Using the YOLO-NAS model it generates instead of the default
/openvino-model/ssdlite_mobilenet_v2.xml
yields the following errorVersion
0.16.0-d96efdb
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Proxmox via Docker
Object Detector
OpenVino
Screenshots of the Frigate UI's System metrics pages
N/A
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions