openvino-model not included in 0.16.1? #20415
-
Hi I am using frigate version 0.16.1 and I am trying to utilize iGPU detection with openvino. I am running Frigate from portainer with this config: version: "3.8"
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:0.16.1
ports:
- "5000:5000" # Web UI mapped to 5002 on host
- "1935:1935"
- "8554:8554"
- "8971:8971"
restart: unless-stopped
privileged: true
shm_size: "2g"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
environment:
- TZ=Europe/Budapest
volumes:
- /etc/localtime:/etc/localtime:ro
- /srv/dev-disk-by-uuid-3ded5c33-8601-4922-9e95-862ac323c6ea/Docker/frigate/config:/config
- /srv/dev-disk-by-uuid-3ded5c33-8601-4922-9e95-862ac323c6ea/Docker/frigate/media:/media
- /srv/dev-disk-by-uuid-3ded5c33-8601-4922-9e95-862ac323c6ea/Docker/frigate/openvino-model:/openvino-model
- /dev/shm:/dev/shm And I have this frigate config: mqtt:
enabled: false
detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
ffmpeg:
hwaccel_args: preset-vaapi
cameras:
my_cam: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554/stream1
roles:
- detect
input_args:
- -rtsp_transport
- tcp
detect:
enabled: false # <---- disable detection until you have a working camera feed
width: 1280
height: 720
version: 0.16-0 I looked into the container and there is no such folder /openvino-model Screenshot of the virtual machine that openvino-model folder is not existing not on my vm nor inside the container itself: Even though checking hardware info in frigate metrics i can see the following: Process Output: vainfo: VA-API version: 1.22 (libva 2.12.0) So can you please help me decide whether it is correctly using intel iGPU acceleration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The OpenVINO model is included in Frigate 0.16.1. The default model path is Your configuration has a typo in the model path. Change this line: path: /openvino-model/ssdlist_mobilenet_v2.xml to: path: /openvino-model/ssdlite_mobilenet_v2.xml The correct OpenVINO detector configuration for the default model is: detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt This default OpenVINO model (SSDLite MobileNet V2) comes from Intel's Open Model Zoo and is converted to an FP16 precision IR model(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
The OpenVINO model is included in Frigate 0.16.1. The default model path is
/openvino-model/ssdlite_mobilenet_v2.xml
(note the correct spelling: ssdlite not "ssdlist")(1).Your configuration has a typo in the model path. Change this line:
to:
(1)
The correct OpenVINO detector configuration for the default model is:
(1)
This default OpenVINO model (SSDLite MobileNet…